From 0dc8c4d4511e4981a9823298df3cc2cc5d866329 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Mar 2001 15:11:39 +0000 Subject: [PATCH] use unsigned int hex to receive the hex digit in, caused a warning with -Wall and a new gcc --- lib/escape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */