diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:40:51 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:40:51 -0800 |
commit | 96c59e1c7c61d7e42b8da5ddbe9af1a12567fd47 (patch) | |
tree | 7b83125d87f58f8bf1feee8a14d8ee8fe226a073 /src | |
parent | fb6002c5736eda80a8ae1df46626862ca53a1c25 (diff) |
Fix gcc -Wwrite-strings warning
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/XRes.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |