diff options
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 */ |