From 107d29d85c95b4c5d65d0321ae8c9456c131a4b9 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sun, 11 Jul 1999 08:05:28 +0000 Subject: 1999-07-11 Thomas Bushnell, BSG * set-options.c (fshelp_set_options): Explicitly cast first arg to argz_extract to keep GCC quiet. --- libfshelp/ChangeLog | 5 +++++ libfshelp/set-options.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'libfshelp') 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 + + * set-options.c (fshelp_set_options): Explicitly cast first arg to + argz_extract to keep GCC quiet. + 1999-07-01 Thomas Bushnell, BSG * 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 @@ -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, -- cgit v1.2.3