use unsigned int hex to receive the hex digit in, caused a warning with

-Wall and a new gcc
This commit is contained in:
Daniel Stenberg 2001-03-09 15:11:39 +00:00
parent 9cf4434ae2
commit 0dc8c4d451
1 changed files with 1 additions and 1 deletions

View File

@ -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 */