From 773d3fc0c6f6c47e1f3758d4bf15d4ee4c53480a Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 23:49:44 +0000 Subject: (main) [parse_opt]: Cast first arg to argz_create appropriately. --- utils/settrans.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/settrans.c b/utils/settrans.c index cf33f0a3..2db6a31a 100644 --- a/utils/settrans.c +++ b/utils/settrans.c @@ -101,7 +101,8 @@ main(int argc, char *argv[]) else /* command */ { error_t err = - argz_create (state->argv + state->next - 1, &argz, &argz_len); + argz_create ((char *const **)(state->argv + state->next - 1), + &argz, &argz_len); if (err) error(3, err, "Can't create options vector"); state->next = state->argc; /* stop parsing */ -- cgit v1.2.3