From b1528e437e46d978c8e5721197ac0d41536c5403 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 7 Mar 2024 19:25:44 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4859 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pambayer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'other/pambayer.c') diff --git a/other/pambayer.c b/other/pambayer.c index 599dc11e..1d5522f9 100644 --- a/other/pambayer.c +++ b/other/pambayer.c @@ -55,8 +55,6 @@ parseCommandLine(int argc, const char ** argv, was passed to us as the argv array. -----------------------------------------------------------------------------*/ optEntry * option_def; - /* Instructions to pm_optParseOptions3 on how to parse our options. - */ optStruct3 opt; unsigned int option_def_index; @@ -75,7 +73,7 @@ parseCommandLine(int argc, const char ** argv, opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */ opt.allowNegNum = FALSE; /* We may have parms that are negative numbers */ - pm_optParseOptions3(&argc, (char **)argv, opt, sizeof(opt), 0); + pm_optParseOptions4(&argc, argv, opt, sizeof(opt), 0); /* Uses and sets argc, argv, and some of *cmdlineP and others. */ free(option_def); -- cgit 1.4.1