Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6889266

Browse files
committed
Constify crc32_sz
Author: Aleksander Alekseev <aleksander@timescale.com> Discussion: https://postgr.es/m/e08317a0-a2e7-c60d-c14a-ad9fc34f8f6c%40eisentraut.org
1 parent 8666cf6 commit 6889266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/hstore/hstore_gist.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ typedef struct
7777

7878
/* shorthand for calculating CRC-32 of a single chunk of data. */
7979
static pg_crc32
80-
crc32_sz(char *buf, int size)
80+
crc32_sz(const char *buf, int size)
8181
{
8282
pg_crc32 crc;
8383

0 commit comments

Comments
 (0)