diff options
| author | 2024-10-08 07:45:17 +0200 | |
|---|---|---|
| committer | 2024-10-08 07:45:17 +0200 | |
| commit | 12373b018e985ba0bc5628dcaceb7c406a350e45 (patch) | |
| tree | 8093b8de6b52fbfb8447eb88d2821d63b719202d /xs_url.h | |
| parent | Don't cache a page if an error is set. (diff) | |
| download | penes-snac2-12373b018e985ba0bc5628dcaceb7c406a350e45.tar.gz penes-snac2-12373b018e985ba0bc5628dcaceb7c406a350e45.tar.xz penes-snac2-12373b018e985ba0bc5628dcaceb7c406a350e45.zip | |
Added -pedantic compilation flag.
Diffstat (limited to 'xs_url.h')
| -rw-r--r-- | xs_url.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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; |