diff options
author | Torsten Jager <t.jager@gmx.de> | 2014-11-06 15:08:20 +0100 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2014-11-06 15:08:20 +0100 |
commit | cf112018e4c9fec2fbb73de0bb4c5bc45fb28e84 (patch) | |
tree | c2c5304c30d9a0b0d7dd6513a251c632646ffee4 /src/post/planar | |
parent | b9d648a31218194e9aea8a07d84a9172705b9e66 (diff) | |
download | xine-lib-cf112018e4c9fec2fbb73de0bb4c5bc45fb28e84.tar.gz xine-lib-cf112018e4c9fec2fbb73de0bb4c5bc45fb28e84.tar.bz2 |
post: silence warnings.
For historical reasons, arg #4 of xine->config->register_enum () is of type (char **).
That string array will not be modified though.
Diffstat (limited to 'src/post/planar')
-rw-r--r-- | src/post/planar/noise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post/planar/noise.c b/src/post/planar/noise.c index 3af9a1b99..7727ca988 100644 --- a/src/post/planar/noise.c +++ b/src/post/planar/noise.c @@ -337,9 +337,9 @@ PARAM_ITEM( POST_PARAM_TYPE_INT, luma_strength, NULL, 0, 100, 0, "Amount of noise to add to luma channel" ) PARAM_ITEM( POST_PARAM_TYPE_INT, chroma_strength, NULL, 0, 100, 0, "Amount of noise to add to chroma channel" ) -PARAM_ITEM( POST_PARAM_TYPE_INT, quality, enum_quality, 0, 0, 0, +PARAM_ITEM( POST_PARAM_TYPE_INT, quality, (char **)enum_quality, 0, 0, 0, "Quality level of noise" ) -PARAM_ITEM( POST_PARAM_TYPE_INT, type, enum_types, 0, 0, 0, +PARAM_ITEM( POST_PARAM_TYPE_INT, type, (char **)enum_types, 0, 0, 0, "Type of noise" ) PARAM_ITEM( POST_PARAM_TYPE_BOOL, pattern, NULL, 0, 1, 0, "Mix random noise with a (semi)regular pattern" ) |