diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:47:20 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 21:47:20 -0800 |
commit | 4091e8b8b80e00b8abafdd630e5af8cab22d9054 (patch) | |
tree | 78ab502c044432aede6734a7c619be0c22879299 | |
parent | 5d4953233392d22b8c92e64c23b5aa20df86e17c (diff) |
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/XvMC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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", |