1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 15:45:12 -04:00

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

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