summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/lib/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/lib/getopt.c')
-rw-r--r--winsup/cygwin/lib/getopt.c2
1 files changed, 1 insertions, 1 deletions
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++;