X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=vcs-svn%2Fstring_pool.c;h=1b63b19a383c570f69b9456c66170e592c49d9ba;hb=05c65cb1161f232c65b186d6d6eb3bce9c6a0924;hp=8af8d54d6ef41a2e84e500bd0d1a5523e59f8a32;hpb=3bcad5a23d7d114f831d7c11c7b29a8052b5a9f8;p=git.git diff --git a/vcs-svn/string_pool.c b/vcs-svn/string_pool.c index 8af8d54d6..1b63b19a3 100644 --- a/vcs-svn/string_pool.c +++ b/vcs-svn/string_pool.c @@ -8,7 +8,7 @@ #include "obj_pool.h" #include "string_pool.h" -static struct trp_root tree = { ~0 }; +static struct trp_root tree = { ~0U }; struct node { uint32_t offset; @@ -78,7 +78,7 @@ void pool_print_seq(uint32_t len, uint32_t *seq, char delim, FILE *stream) uint32_t pool_tok_seq(uint32_t sz, uint32_t *seq, const char *delim, char *str) { char *context = NULL; - uint32_t token = ~0; + uint32_t token = ~0U; uint32_t length; if (sz == 0)