summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/settrans.c3
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 */