diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:45:11 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:45:11 -0800 |
commit | de5e2271b54b7fe8bb3f8b66a70b5b87853f51a2 (patch) | |
tree | 8f4bc1c4532770ea4a5c98bb564e23ea98fd8a9b /src | |
parent | ff45155aa59c22aa5abc5ffe941dfe3b0f4c288f (diff) |
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Xv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,7 +57,7 @@ SOFTWARE. static XExtensionInfo _xv_info_data; static XExtensionInfo *xv_info = &_xv_info_data; -static char *xv_extension_name = XvName; +static const char *xv_extension_name = XvName; #define XvCheckExtension(dpy, i, val) \ XextCheckExtension(dpy, i, xv_extension_name, val) @@ -82,7 +82,7 @@ static XExtensionHooks xv_extension_hooks = { }; -static char *xv_error_list[] = +static const char *xv_error_list[] = { "BadPort", /* XvBadPort */ "BadEncoding", /* XvBadEncoding */ |