diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-11 08:05:28 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-11 08:05:28 +0000 |
commit | 107d29d85c95b4c5d65d0321ae8c9456c131a4b9 (patch) | |
tree | aff3bf934b5d94e0994e06f7081d2acac2e899cd /libfshelp | |
parent | 4b8c3a57654a54c370e35d30ba43f59309759ea3 (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')
-rw-r--r-- | libfshelp/ChangeLog | 5 | ||||
-rw-r--r-- | libfshelp/set-options.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libfshelp/ChangeLog b/libfshelp/ChangeLog index a8905c7c..a18f7205 100644 --- a/libfshelp/ChangeLog +++ b/libfshelp/ChangeLog @@ -1,3 +1,8 @@ +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. + 1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> * translated.c: New file; guts from fshelp.h. 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, |