summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2023-10-05 06:53:21 +0000
committerPeter Eisentraut2023-10-05 06:53:21 +0000
commit688926633fc6663d632334b17b34b0384620a458 (patch)
tree9119c94b505894194e0a87005b5e4d58d9811dd8
parent8666cf65ea6926b6d8c781ae03891435131911cd (diff)
Constify crc32_sz
Author: Aleksander Alekseev <[email protected]> Discussion: https://postgr.es/m/e08317a0-a2e7-c60d-c14a-ad9fc34f8f6c%40eisentraut.org
-rw-r--r--contrib/hstore/hstore_gist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hstore/hstore_gist.c b/contrib/hstore/hstore_gist.c
index 3df00493e81..fe343739eb0 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;