From 2bac2e232f56836faeab016ab44fe45a3f055fd0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 10 Nov 2011 21:51:52 -0800 Subject: Fix gcc -Wwrite-strings warning --- src/XF86VMode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/XF86VMode.c') 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) -- cgit v1.2.3