summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:47:20 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:47:20 -0800
commit4091e8b8b80e00b8abafdd630e5af8cab22d9054 (patch)
tree78ab502c044432aede6734a7c619be0c22879299
parent5d4953233392d22b8c92e64c23b5aa20df86e17c (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/XvMC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XvMC.c b/src/XvMC.c
index b6f718b..5a4cf0d 100644
--- a/src/XvMC.c
+++ b/src/XvMC.c
@@ -19,9 +19,9 @@
static XExtensionInfo _xvmc_info_data;
static XExtensionInfo *xvmc_info = &_xvmc_info_data;
-static char *xvmc_extension_name = XvMCName;
+static const char *xvmc_extension_name = XvMCName;
-static char *xvmc_error_list[] =
+static const char *xvmc_error_list[] =
{
"BadContext",
"BadSurface",