aboutsummaryrefslogtreecommitdiff
path: root/xs_url.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-10-08 07:45:17 +0200
committerdefault <nobody@localhost>2024-10-08 07:45:17 +0200
commit12373b018e985ba0bc5628dcaceb7c406a350e45 (patch)
tree8093b8de6b52fbfb8447eb88d2821d63b719202d /xs_url.h
parente49c837cd790b0c6e4cbccafb148d2687a132258 (diff)
Added -pedantic compilation flag.
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;