Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Constify crc32_sz
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 5 Oct 2023 06:53:21 +0000 (08:53 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 5 Oct 2023 06:53:21 +0000 (08:53 +0200)
Author: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://postgr.es/m/e08317a0-a2e7-c60d-c14a-ad9fc34f8f6c%40eisentraut.org

contrib/hstore/hstore_gist.c

index 3df00493e8172ca16d2316a159830e027b6a1716..fe343739eb06ef4d83ea41e6efad89547f8da0d3 100644 (file)
@@ -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;