aboutsummaryrefslogtreecommitdiff
path: root/xs_url.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_url.h')
-rw-r--r--xs_url.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_url.h b/xs_url.h
index d9491ab..1738634 100644
--- a/xs_url.h
+++ b/xs_url.h
@@ -17,7 +17,7 @@ xs_str *xs_url_dec(const char *str)
while (*str) {
if (*str == '%') {
- int i;
+ unsigned int i;
if (sscanf(str + 1, "%02x", &i) == 1) {
unsigned char uc = i;