summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xstdcmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xstdcmap.c b/xstdcmap.c
index 7cc6341..ad35c83 100644
--- a/xstdcmap.c
+++ b/xstdcmap.c
@@ -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) {