Mercurial > mplayer.hg
changeset 33592:0d3ac97aed92
Add const to avoid compiler warning.
author | reimar |
---|---|
date | Sun, 19 Jun 2011 19:05:39 +0000 |
parents | d336a7b03220 |
children | 835841f89315 |
files | libvo/vo_directx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_directx.c Sun Jun 19 19:03:12 2011 +0000 +++ b/libvo/vo_directx.c Sun Jun 19 19:05:39 2011 +0000 @@ -1062,7 +1062,7 @@ // contrast [0, 20000] // hue [-180, 180] // saturation [0, 20000] -static uint32_t color_ctrl_set(char *what, int value) +static uint32_t color_ctrl_set(const char *what, int value) { uint32_t r = VO_NOTIMPL; DDCOLORCONTROL dcc; @@ -1099,7 +1099,7 @@ } //analoguous to color_ctrl_set -static uint32_t color_ctrl_get(char *what, int *value) +static uint32_t color_ctrl_get(const char *what, int *value) { uint32_t r = VO_NOTIMPL; DDCOLORCONTROL dcc;