mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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:
parent
9cf4434ae2
commit
0dc8c4d451
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user