From 96c59e1c7c61d7e42b8da5ddbe9af1a12567fd47 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 10 Nov 2011 21:40:51 -0800 Subject: Fix gcc -Wwrite-strings warning Signed-off-by: Alan Coopersmith --- src/XRes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1