diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 23:51:36 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 23:51:36 +0000 |
commit | 716b12255cfecdc542208e461f42522886ff34dc (patch) | |
tree | 54245f5676b03fbedb3139440b896d667105f50e /utils | |
parent | 773d3fc0c6f6c47e1f3758d4bf15d4ee4c53480a (diff) |
(main) [parse_opt]: Cast first arg of argz_create appropriately.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/fsysopts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/fsysopts.c b/utils/fsysopts.c index 45f586cd..132888d5 100644 --- a/utils/fsysopts.c +++ b/utils/fsysopts.c @@ -67,7 +67,8 @@ main(int argc, char *argv[]) { case ARGP_KEY_ARG: node_name = arg; - err = argz_create (state->argv + state->next, &argz, &argz_len); + err = argz_create ((char *const **)(state->argv + state->next), + &argz, &argz_len); if (err) error(3, err, "Can't create options vector"); state->next = state->argc; /* stop parsing */ |