diff libvo/x11_common.c @ 33313:169a40da4c53

Add "const" to equalizer name argument to avoid compiler warnings.
author reimar
date Sat, 07 May 2011 18:48:31 +0000
parents c7ebb0b711a6
children 4f5becd31212
line wrap: on
line diff
--- a/libvo/x11_common.c	Sat May 07 18:44:29 2011 +0000
+++ b/libvo/x11_common.c	Sat May 07 18:48:31 2011 +0000
@@ -1827,7 +1827,7 @@
     return (unsigned short) (s * 65535);
 }
 
-uint32_t vo_x11_set_equalizer(char *name, int value)
+uint32_t vo_x11_set_equalizer(const char *name, int value)
 {
     float gamma, brightness, contrast;
     float rf, gf, bf;
@@ -1878,7 +1878,7 @@
     return VO_TRUE;
 }
 
-uint32_t vo_x11_get_equalizer(char *name, int *value)
+uint32_t vo_x11_get_equalizer(const char *name, int *value)
 {
     if (cmap == None)
         return VO_NOTAVAIL;