Constify crc32_sz

Author: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://postgr.es/m/e08317a0-a2e7-c60d-c14a-ad9fc34f8f6c%40eisentraut.org
This commit is contained in:
Peter Eisentraut 2023-10-05 08:53:21 +02:00
parent 8666cf65ea
commit 688926633f
1 changed files with 1 additions and 1 deletions

View 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;