summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:45:11 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:45:11 -0800
commitde5e2271b54b7fe8bb3f8b66a70b5b87853f51a2 (patch)
tree8f4bc1c4532770ea4a5c98bb564e23ea98fd8a9b /src
parentff45155aa59c22aa5abc5ffe941dfe3b0f4c288f (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/Xv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xv.c b/src/Xv.c
index f9efb91..b081e8a 100644
--- a/src/Xv.c
+++ b/src/Xv.c
@@ -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 */