# HG changeset patch # User reimar # Date 1304793869 0 # Node ID fdfabd2d4476e13403c541acff2ff0794d746202 # Parent 00ab9ef28181be05bcb521714c7bdbb8bc36069d Add "const" to avoid compiler warnings. diff -r 00ab9ef28181 -r fdfabd2d4476 libvo/vo_directfb2.c --- a/libvo/vo_directfb2.c Sat May 07 16:29:57 2011 +0000 +++ b/libvo/vo_directfb2.c Sat May 07 18:44:29 2011 +0000 @@ -984,7 +984,7 @@ } -static uint32_t directfb_set_video_eq(char *data, int value) //data==name +static uint32_t directfb_set_video_eq(const char *data, int value) //data==name { DFBColorAdjustment ca; @@ -1042,7 +1042,7 @@ } -static uint32_t directfb_get_video_eq(char *data, int *value) // data==name +static uint32_t directfb_get_video_eq(const char *data, int *value) // data==name { DFBColorAdjustment ca;