diff options
Diffstat (limited to 'contrib/ltree/crc32.c')
-rw-r--r-- | contrib/ltree/crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ltree/crc32.c b/contrib/ltree/crc32.c index bdfba6a3323..0e04bdb1b0a 100644 --- a/contrib/ltree/crc32.c +++ b/contrib/ltree/crc32.c @@ -105,6 +105,6 @@ crc32_sz(char *buf, int size) len = 0; nr = size; for (len += nr, p = buf; nr--; ++p) - _CRC32_(crc, TOLOWER(*p)); + _CRC32_(crc, TOLOWER((unsigned int)*p)); return ~crc; } |