summaryrefslogtreecommitdiff
path: root/xs_url.h
diff options
context:
space:
mode:
authorGravatar default2024-10-08 07:45:17 +0200
committerGravatar default2024-10-08 07:45:17 +0200
commit12373b018e985ba0bc5628dcaceb7c406a350e45 (patch)
tree8093b8de6b52fbfb8447eb88d2821d63b719202d /xs_url.h
parentDon't cache a page if an error is set. (diff)
downloadsnac2-12373b018e985ba0bc5628dcaceb7c406a350e45.tar.gz
snac2-12373b018e985ba0bc5628dcaceb7c406a350e45.tar.xz
snac2-12373b018e985ba0bc5628dcaceb7c406a350e45.zip
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)
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;