mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-25 20:49:49 +08: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:
+1
-1
@@ -466,7 +466,7 @@ const m_option_t common_opts[] = {
|
||||
// postprocessing:
|
||||
{"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL},
|
||||
#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
|
||||
|
||||
// scaling:
|
||||
|
||||
Reference in New Issue
Block a user