summaryrefslogtreecommitdiff
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)
17 17
18 while (*str) { 18 while (*str) {
19 if (*str == '%') { 19 if (*str == '%') {
20 int i; 20 unsigned int i;
21 21
22 if (sscanf(str + 1, "%02x", &i) == 1) { 22 if (sscanf(str + 1, "%02x", &i) == 1) {
23 unsigned char uc = i; 23 unsigned char uc = i;