summaryrefslogtreecommitdiff
path: root/libfshelp/set-options.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-11 08:05:28 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-11 08:05:28 +0000
commit107d29d85c95b4c5d65d0321ae8c9456c131a4b9 (patch)
treeaff3bf934b5d94e0994e06f7081d2acac2e899cd /libfshelp/set-options.c
parent4b8c3a57654a54c370e35d30ba43f59309759ea3 (diff)
1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>
* set-options.c (fshelp_set_options): Explicitly cast first arg to argz_extract to keep GCC quiet.
Diffstat (limited to 'libfshelp/set-options.c')
-rw-r--r--libfshelp/set-options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfshelp/set-options.c b/libfshelp/set-options.c
index 91004ab2..13e4001f 100644
--- a/libfshelp/set-options.c
+++ b/libfshelp/set-options.c
@@ -1,6 +1,6 @@
/* Standard filesystem runtime option parsing
- Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -37,7 +37,7 @@ fshelp_set_options (struct argp *argp, int flags,
int argc = argz_count (argz, argz_len);
char **argv = alloca (sizeof (char *) * (argc + 1));
- argz_extract (argz, argz_len, argv);
+ argz_extract ((char *) argz, argz_len, argv);
return
argp_parse (argp, argc, argv,