summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/parse_inet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/src/parse_inet.cpp')
-rw-r--r--plugins/Variables/src/parse_inet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_inet.cpp b/plugins/Variables/src/parse_inet.cpp
index 95c94aba7d..0fe84a7ae5 100644
--- a/plugins/Variables/src/parse_inet.cpp
+++ b/plugins/Variables/src/parse_inet.cpp
@@ -32,7 +32,7 @@ static TCHAR *parseUrlEnc(ARGUMENTSINFO *ai) {
if (res == NULL) {
return NULL;
}
- unsigned int cur = 0;
+ size_t cur = 0;
while (cur < strlen(res)) {
if (( (*(res+cur) >= '0') && (*(res+cur) <= '9')) || ( (*(res+cur) >= 'a') && (*(res+cur) <= 'z')) || ( (*(res+cur) >= 'A') && (*(res+cur) <= 'Z')) ) {
cur++;