diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-21 14:10:33 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2012-11-21 14:10:33 +0100 |
commit | 264b5124e702ecda1f9290b772ae7df68233acd3 (patch) | |
tree | 56bcc8860a41eb70ef1393e12d7f81a0e2a51eff | |
parent | 9125ba0a4f4a499d859cff772131d380c687bb2f (diff) | |
download | mpv-264b5124e702ecda1f9290b772ae7df68233acd3.tar.bz2 mpv-264b5124e702ecda1f9290b772ae7df68233acd3.tar.xz |
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.
-rw-r--r-- | core/cfg-mplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h index a7f9637ebe..d9dcb56e6a 100644 --- a/core/cfg-mplayer.h +++ b/core/cfg-mplayer.h @@ -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: |