summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/libc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/libc')
-rw-r--r--winsup/cygwin/libc/getopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/libc/getopt.c b/winsup/cygwin/libc/getopt.c
index a5883f07c..b09e133a6 100644
--- a/winsup/cygwin/libc/getopt.c
+++ b/winsup/cygwin/libc/getopt.c
@@ -154,7 +154,8 @@ getopt_long(nargc, nargv, options, long_options, index)
if ((retval = getopt_internal(nargc, nargv, options)) == -2) {
char *current_argv = nargv[optind++] + 2, *has_equal;
- int i, current_argv_len, match = -1;
+ int i, match = -1;
+ size_t current_argv_len;
if (*current_argv == '\0') {
return(-1);