diff options
-rw-r--r-- | editor/pnmpad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/pnmpad.c b/editor/pnmpad.c index 4fd810da..979fe017 100644 --- a/editor/pnmpad.c +++ b/editor/pnmpad.c @@ -90,7 +90,7 @@ parseCommandLine(int argc, const char ** argv, opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */ opt.allowNegNum = FALSE; /* We have no parms that are negative numbers */ - optParseOptions3(&argc, argv, opt, sizeof opt, 0); + optParseOptions3(&argc, (char **)argv, opt, sizeof opt, 0); /* Uses and sets argc, argv, and some of *cmdlineP and others. */ if (blackOpt && cmdlineP->white) @@ -159,7 +159,7 @@ parseCommandLine(int argc, const char ** argv, static void -parseCommandLineOld(int argc, char ** argv, +parseCommandLineOld(int argc, const char ** argv, struct cmdlineInfo * const cmdlineP) { /* This syntax was abandonned in February 2002. */ |