From 264b5124e702ecda1f9290b772ae7df68233acd3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 21 Nov 2012 14:10:33 +0100 Subject: 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. --- core/cfg-mplayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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: -- cgit v1.2.3