diff options
-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, |