From 9184c3bb37d22bca5815c93fb9f627ed904bb5f4 Mon Sep 17 00:00:00 2001
From: Aleksander Alekseev <aleksander@timescale.com>
Date: Wed, 4 Oct 2023 17:42:20 +0300
Subject: [PATCH v1] Constify crc32_sz

Aleksander Alekseev, reviewed by TODO FIXME
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;
 
-- 
2.42.0

