From 35de245445499909735fcc94d131cd78cac1d572 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 10 May 1996 21:57:15 +0000 Subject: (main): Remove const cast from first arg to argz_create. --- utils/settrans.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/settrans.c b/utils/settrans.c index 2db6a31a..cf33f0a3 100644 --- a/utils/settrans.c +++ b/utils/settrans.c @@ -101,8 +101,7 @@ main(int argc, char *argv[]) else /* command */ { error_t err = - argz_create ((char *const **)(state->argv + state->next - 1), - &argz, &argz_len); + argz_create (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