From 81c59f730dacf62c927eb57dcadeecffe8b8daea Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 30 Mar 2024 18:31:01 +0000 Subject: promote Development to Advanced git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4897 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pamdepth.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'other/pamdepth.c') diff --git a/other/pamdepth.c b/other/pamdepth.c index 4349f5ea..4425fcf2 100644 --- a/other/pamdepth.c +++ b/other/pamdepth.c @@ -36,8 +36,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; @@ -52,7 +50,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. */ if (argc-1 < 1) -- cgit 1.4.1