summaryrefslogtreecommitdiff
path: root/src/Xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xv.c')
-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 */