From 688926633fc6663d632334b17b34b0384620a458 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 5 Oct 2023 08:53:21 +0200 Subject: [PATCH] Constify crc32_sz Author: Aleksander Alekseev Discussion: https://postgr.es/m/e08317a0-a2e7-c60d-c14a-ad9fc34f8f6c%40eisentraut.org --- contrib/hstore/hstore_gist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/hstore/hstore_gist.c b/contrib/hstore/hstore_gist.c index 3df00493e8..fe343739eb 100644 --- a/contrib/hstore/hstore_gist.c +++ b/contrib/hstore/hstore_gist.c @@ -77,7 +77,7 @@ typedef struct /* shorthand for calculating CRC-32 of a single chunk of data. */ static pg_crc32 -crc32_sz(char *buf, int size) +crc32_sz(const char *buf, int size) { pg_crc32 crc;