diff --git a/wgetopt.cpp b/wgetopt.cpp index ef0a64592..ecf1121e5 100644 --- a/wgetopt.cpp +++ b/wgetopt.cpp @@ -270,7 +270,7 @@ exchange(wchar_t **argv) { /* Bottom segment is the short one. */ int len = middle - bottom; - short i; + int i; /* Swap it with the top part of the top segment. */ for (i = 0; i < len; i++) @@ -286,7 +286,7 @@ exchange(wchar_t **argv) { /* Top segment is the short one. */ int len = top - middle; - short i; + int i; /* Swap it with the bottom part of the bottom segment. */ for (i = 0; i < len; i++)