diff options
Diffstat (limited to 'other/pamexec.c')
-rw-r--r-- | other/pamexec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/other/pamexec.c b/other/pamexec.c index cbde81ac..b615790c 100644 --- a/other/pamexec.c +++ b/other/pamexec.c @@ -68,9 +68,7 @@ parseCommandLine(int argc, const char ** argv, Note that the pointers we place into *cmdlineP are sometimes to storage in the argv array. -----------------------------------------------------------------------------*/ - optEntry *option_def; - /* Instructions to OptParseOptions3 on how to parse our options. - */ + optEntry * option_def; optStruct3 opt; unsigned int option_def_index; @@ -85,7 +83,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 */ - 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) |