diff -r 78f547cdc362 -r 5f683209f5b6 mercurial/pathencode.c --- a/mercurial/pathencode.c Wed Feb 19 22:19:45 2014 +0900 +++ b/mercurial/pathencode.c Wed Feb 19 13:11:24 2014 -0800 @@ -530,7 +530,7 @@ static const uint32_t twobytes[8]; static const uint32_t onebyte[8] = { - ~0, 0xffff3ffe, ~0, ~0, ~0, ~0, ~0, ~0, + ~0U, 0xffff3ffe, ~0U, ~0U, ~0U, ~0U, ~0U, ~0U, }; return _encode(twobytes, onebyte, dest, 0, destsize, src, len, 0);