diff libvo/vo_pnm.c @ 30122:1772a5171ac7

Fix function declarations to avoid casting function pointers.
author reimar
date Fri, 01 Jan 2010 13:18:49 +0000
parents 0f1b5b68af32
children f4e017b6921a
line wrap: on
line diff
--- a/libvo/vo_pnm.c	Fri Jan 01 12:54:09 2010 +0000
+++ b/libvo/vo_pnm.c	Fri Jan 01 13:18:49 2010 +0000
@@ -128,7 +128,7 @@
         {"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;