diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 12:50:21 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 12:54:53 -0800 |
commit | dcd3ef4f939077b032319508ea6f6107286dd39a (patch) | |
tree | cef7bf5fd781b414aad110d908616e6fa58c91c1 | |
parent | d8f572a262c37f79d3fabc855543404b774c96b1 (diff) |
Constify some char * to fix gcc warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xstdcmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -59,8 +59,8 @@ typedef struct Bool create; Bool delete; Atom property; - char *name; - char *nickname; + const char *name; + const char *nickname; } colormap_property; static colormap_property propertyTable[]= @@ -259,7 +259,7 @@ getBestVisual(Atom property, /* specifies the standard colormap */ } -static char * +static const char * visualStringFromClass(int class) { switch (class) { |