diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-09-19 20:08:33 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-09-19 20:08:33 +0400 |
commit | 09376842d4d7240c8cd7a63fa7858b620469cd22 (patch) | |
tree | 93f361f454ad28af2e9c22819da1ca86eb1edefa /winsup | |
parent | 596f3269b00bc497b2fd82d9ec4bc748fe7b6fab (diff) |
* lib/getopt.c (getopt_long): Avoid compiler warning.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/lib/getopt.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 453f3c61b..2d5806418 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 19 18:07:00 2001 Corinna Vinschen <corinna@vinschen.de> + + * lib/getopt.c (getopt_long): Avoid compiler warning. + Wed Sep 19 11:52:42 2001 Christopher Faylor <cgf@cygnus.com> * lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin. diff --git a/winsup/cygwin/lib/getopt.c b/winsup/cygwin/lib/getopt.c index ba13678b8..11f065fc2 100644 --- a/winsup/cygwin/lib/getopt.c +++ b/winsup/cygwin/lib/getopt.c @@ -381,7 +381,7 @@ getopt_long(int nargc, char * const *nargv, const char *options, size_t current_argv_len; int i, match; - current_argv = place; + current_argv = (char *) place; match = -1; optind++; |