Commit 0dc8c4d4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

-Wall and a new gcc
parent 9cf4434a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */