aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-09 15:11:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-09 15:11:39 +0000
commit0dc8c4d4511e4981a9823298df3cc2cc5d866329 (patch)
tree61f8ec860c5bdf858bfd4f5273ee2f64c81c352c /lib
parent9cf4434ae27a02e30dae886ce2bb8badd83bf351 (diff)
use unsigned int hex to receive the hex digit in, caused a warning with
-Wall and a new gcc
Diffstat (limited to 'lib')
-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 */