summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:40:51 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:40:51 -0800
commit96c59e1c7c61d7e42b8da5ddbe9af1a12567fd47 (patch)
tree7b83125d87f58f8bf1feee8a14d8ee8fe226a073
parentfb6002c5736eda80a8ae1df46626862ca53a1c25 (diff)
downloadxorg-lib-libXRes-96c59e1c7c61d7e42b8da5ddbe9af1a12567fd47.tar.gz
Fix gcc -Wwrite-strings warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/XRes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XRes.c b/src/XRes.c
index d1ba49c..6091c96 100644
--- a/src/XRes.c
+++ b/src/XRes.c
@@ -16,7 +16,7 @@
static XExtensionInfo _xres_ext_info_data;
static XExtensionInfo *xres_ext_info = &_xres_ext_info_data;
-static char *xres_extension_name = XRES_NAME;
+static const char *xres_extension_name = XRES_NAME;
#define XResCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, xres_extension_name, val)