[PATCH:libXRes] Const fix.

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 13:12:29 PDT 2013


---
 src/XRes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/XRes.c b/src/XRes.c
index 51e905f..aef32ce 100644
--- a/src/XRes.c
+++ b/src/XRes.c
@@ -28,7 +28,7 @@ static inline void _XEatDataWords(Display *dpy, unsigned long n)
 
 static XExtensionInfo _xres_ext_info_data;
 static XExtensionInfo *xres_ext_info = &_xres_ext_info_data;
-static const char *xres_extension_name = XRES_NAME;
+static char *xres_extension_name = XRES_NAME;
 
 #define XResCheckExtension(dpy,i,val) \
   XextCheckExtension (dpy, i, xres_extension_name, val)
-- 
1.8.2.3



More information about the xorg-devel mailing list