summaryrefslogtreecommitdiffstats
path: root/libvo/vo_pnm.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 13:18:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 13:18:49 +0000
commitf102ac7a8c62491761b7b3d32baa87dcb665f9ed (patch)
tree27ad6e8e197f81258631b4b86b3938c870e35a84 /libvo/vo_pnm.c
parent5f684e1b32cc052edf33d8c0ff5ead106e98e680 (diff)
downloadmpv-f102ac7a8c62491761b7b3d32baa87dcb665f9ed.tar.bz2
mpv-f102ac7a8c62491761b7b3d32baa87dcb665f9ed.tar.xz
Fix function declarations to avoid casting function pointers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_pnm.c')
-rw-r--r--libvo/vo_pnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_pnm.c b/libvo/vo_pnm.c
index 90caf55e24..20290272bc 100644
--- a/libvo/vo_pnm.c
+++ b/libvo/vo_pnm.c
@@ -128,7 +128,7 @@ static int preinit(const char *arg)
{"ascii", OPT_ARG_BOOL, &ascii_mode, NULL},
{"outdir", OPT_ARG_MSTRZ, &pnm_outdir, NULL},
{"subdirs", OPT_ARG_MSTRZ, &pnm_subdirs, NULL},
- {"maxfiles", OPT_ARG_INT, &pnm_maxfiles, (opt_test_f)int_pos},
+ {"maxfiles", OPT_ARG_INT, &pnm_maxfiles, int_pos},
{NULL, 0, NULL, NULL}
};
const char *info_message = NULL;