diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-07 19:23:37 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-07 19:52:17 -0700 |
commit | d3c2fbcd83ed9ae9b6cc8d765badca7f8d3261b2 (patch) | |
tree | e4ec9c50ab8c063d08e1d08ccd8507a8005af425 /src/Converters.c | |
parent | 94ffb37790ce33fdf49d07dd1ade60b6d8376aa7 (diff) |
Make gravity strings const to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Converters.c')
-rw-r--r-- | src/Converters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Converters.c b/src/Converters.c index a94a7e0..7649802 100644 --- a/src/Converters.c +++ b/src/Converters.c @@ -1735,7 +1735,7 @@ Boolean XtCvtStringToGravity ( { static struct _namepair { XrmQuark quark; - char *name; + const char *name; int gravity; } names[] = { { NULLQUARK, "forget", ForgetGravity }, |