diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 23:49:44 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 23:49:44 +0000 |
commit | 773d3fc0c6f6c47e1f3758d4bf15d4ee4c53480a (patch) | |
tree | eb0b5f9a4f86575877158bb233484a859a8faec4 /utils | |
parent | 55912afd6957d63e1b84134fc800799628c69354 (diff) |
(main) [parse_opt]: Cast first arg to argz_create appropriately.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/settrans.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |