summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:51:52 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:52:03 -0800
commit2bac2e232f56836faeab016ab44fe45a3f055fd0 (patch)
tree5faa8fb8df577d50d9c3e17474573e3231de39f5 /src
parent78b0baf7872234c7e0e5753be76a662e34d87984 (diff)
Fix gcc -Wwrite-strings warning
Diffstat (limited to 'src')
-rw-r--r--src/XF86VMode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XF86VMode.c b/src/XF86VMode.c
index 99a0073..4f19cf3 100644
--- a/src/XF86VMode.c
+++ b/src/XF86VMode.c
@@ -46,7 +46,7 @@ from Kaleb S. KEITHLEY.
static XExtensionInfo _xf86vidmode_info_data;
static XExtensionInfo *xf86vidmode_info = &_xf86vidmode_info_data;
-static char *xf86vidmode_extension_name = XF86VIDMODENAME;
+static const char *xf86vidmode_extension_name = XF86VIDMODENAME;
#define XF86VidModeCheckExtension(dpy,i,val) \
XextCheckExtension (dpy, i, xf86vidmode_extension_name, val)