diff options
Diffstat (limited to 'contrib/ltree/crc32.c')
-rw-r--r-- | contrib/ltree/crc32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ltree/crc32.c b/contrib/ltree/crc32.c index 0c3e45923b2..8fed3346e8a 100644 --- a/contrib/ltree/crc32.c +++ b/contrib/ltree/crc32.c @@ -20,10 +20,10 @@ #include "utils/pg_crc.h" unsigned int -ltree_crc32_sz(char *buf, int size) +ltree_crc32_sz(const char *buf, int size) { pg_crc32 crc; - char *p = buf; + const char *p = buf; INIT_TRADITIONAL_CRC32(crc); while (size > 0) |