summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-10 21:57:15 +0000
committerMiles Bader <miles@gnu.org>1996-05-10 21:57:15 +0000
commit35de245445499909735fcc94d131cd78cac1d572 (patch)
tree1d2fc36acb7455f2277de2dd5f780f047882a195 /utils
parent14e996652b417beac057988e956bcafde747576c (diff)
(main): Remove const cast from first arg to argz_create.
Diffstat (limited to 'utils')
-rw-r--r--utils/settrans.c3
1 files changed, 1 insertions, 2 deletions
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 */