diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-07 17:00:59 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-08 19:20:02 -0700 |
commit | 9932303fbd0390628efc714d9c52718eca008015 (patch) | |
tree | d2b38622b16cc1239a0e0a95f88db9f42d838e67 /include/X11/Xaw3d/Command.h | |
parent | c6c61c93154635018c901ace6251018dfc3d9961 (diff) |
Make WriteToFile take constified arguments
Fixes compiler warning:
"AsciiSrc.c", line 858: warning: argument #2 is incompatible with prototype:
prototype: pointer to char : "AsciiSrc.c", line 118
argument : pointer to const char
Has to use _XtString (#define char *) instead of String (typedef char *) to
correctly be a pointer to const chars instead of a const pointer to chars.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'include/X11/Xaw3d/Command.h')
0 files changed, 0 insertions, 0 deletions