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);
|
char *ns = malloc(alloc);
|
||||||
unsigned char in;
|
unsigned char in;
|
||||||
int index=0;
|
int index=0;
|
||||||
int hex;
|
unsigned int hex;
|
||||||
char querypart=FALSE; /* everything to the right of a '?' letter is
|
char querypart=FALSE; /* everything to the right of a '?' letter is
|
||||||
the "query part" where '+' should become ' '.
|
the "query part" where '+' should become ' '.
|
||||||
RFC 2316, section 3.10 */
|
RFC 2316, section 3.10 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user