Commit 02988146 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

url.c: fixed warnigns about signed/unsigned in SYN33 macros

darcs-hash:20070913134725-65a35-9edacf7a24bede48aa76221def6b873d4d041b0f.gz
parent 9281639c
...@@ -337,8 +337,8 @@ char *url_canonize(char *d, char const *s, size_t n, ...@@ -337,8 +337,8 @@ char *url_canonize(char *d, char const *s, size_t n,
return url_canonize2(d, s, n, syn33, mask32, mask64, mask96); return url_canonize2(d, s, n, syn33, mask32, mask64, mask96);
} }
#define SYN33(c) (1 << (c - 33)) #define SYN33(c) (1U << (c - 33))
#define IS_SYN33(syn33, c) ((syn33 & (1 << (c - 33))) != 0) #define IS_SYN33(syn33, c) ((syn33 & (1U << (c - 33))) != 0)
/** Canonize a URL component (with precomputed mask) */ /** Canonize a URL component (with precomputed mask) */
static static
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment