about summary refs log tree commit diff
path: root/converter/other/pngtopam.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-12 21:18:23 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-12 21:18:23 +0000
commit3df835b227b49a058e8c6be74e1a9c7025d6b289 (patch)
tree2b99351076e55eefa37bacd49e5a82d18e5b53ca /converter/other/pngtopam.c
parent65fc824d664ceb501985edee67b320173b9e789a (diff)
downloadnetpbm-mirror-3df835b227b49a058e8c6be74e1a9c7025d6b289.tar.gz
netpbm-mirror-3df835b227b49a058e8c6be74e1a9c7025d6b289.tar.xz
netpbm-mirror-3df835b227b49a058e8c6be74e1a9c7025d6b289.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4872 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pngtopam.c')
-rw-r--r--converter/other/pngtopam.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c
index a700364f..acb04599 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -73,9 +73,7 @@ parseCommandLine(int                  argc,
    Note that the strings we return are stored in the storage that
    was passed to us as the argv array.  We also trash *argv.
 -----------------------------------------------------------------------------*/
-    optEntry * option_def;
-        /* Instructions to pm_optParseOptions3 on how to parse our options.
-         */
+    optEntry * option_def;   /* Used by OPTENT3 */
     optStruct3 opt;
 
     unsigned int option_def_index;
@@ -109,7 +107,7 @@ parseCommandLine(int                  argc,
     opt.short_allowed = FALSE;  /* We have no short (old-fashioned) options */
     opt.allowNegNum = FALSE;  /* We have no 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. */