mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
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:
parent
8666cf65ea
commit
688926633f
@ -77,7 +77,7 @@ typedef struct
|
|||||||
|
|
||||||
/* shorthand for calculating CRC-32 of a single chunk of data. */
|
/* shorthand for calculating CRC-32 of a single chunk of data. */
|
||||||
static pg_crc32
|
static pg_crc32
|
||||||
crc32_sz(char *buf, int size)
|
crc32_sz(const char *buf, int size)
|
||||||
{
|
{
|
||||||
pg_crc32 crc;
|
pg_crc32 crc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user