0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

cfg-config: avoid warning with -Wincompatible-pointer-types

This was throwing off a warning with clang. Add a cast to (void *) like many
other options do.
This commit is contained in:
Stefano Pigozzi 2012-11-21 14:10:33 +01:00
parent 9125ba0a4f
commit 264b5124e7

View File

@ -466,7 +466,7 @@ const m_option_t common_opts[] = {
// postprocessing: // postprocessing:
{"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL}, {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL},
#ifdef CONFIG_LIBPOSTPROC #ifdef CONFIG_LIBPOSTPROC
{"pphelp", &pp_help, CONF_TYPE_PRINT, CONF_GLOBAL | CONF_NOCFG, 0, 0, NULL}, {"pphelp", (void *) &pp_help, CONF_TYPE_PRINT, CONF_GLOBAL | CONF_NOCFG, 0, 0, NULL},
#endif #endif
// scaling: // scaling: