aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-19 16:08:33 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-09-19 16:08:33 +0000
commit09376842d4d7240c8cd7a63fa7858b620469cd22 (patch)
tree93f361f454ad28af2e9c22819da1ca86eb1edefa /winsup
parent596f3269b00bc497b2fd82d9ec4bc748fe7b6fab (diff)
downloadnewlib-09376842d4d7240c8cd7a63fa7858b620469cd22.zip
newlib-09376842d4d7240c8cd7a63fa7858b620469cd22.tar.gz
newlib-09376842d4d7240c8cd7a63fa7858b620469cd22.tar.bz2
* lib/getopt.c (getopt_long): Avoid compiler warning.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/lib/getopt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 453f3c6..2d58064 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 ba13678..11f065f 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++;