From 716b12255cfecdc542208e461f42522886ff34dc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 23:51:36 +0000 Subject: (main) [parse_opt]: Cast first arg of argz_create appropriately. --- utils/fsysopts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3