aboutsummaryrefslogtreecommitdiff
path: root/lib/escape.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/escape.c')
-rw-r--r--lib/escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/escape.c b/lib/escape.c
index df8917842..ddb364a9c 100644
--- a/lib/escape.c
+++ b/lib/escape.c
@@ -78,7 +78,7 @@ char *curl_unescape(char *string, int length)
char *ns = malloc(alloc);
unsigned char in;
int index=0;
- int hex;
+ unsigned int hex;
char querypart=FALSE; /* everything to the right of a '?' letter is
the "query part" where '+' should become ' '.
RFC 2316, section 3.10 */