Constify crc32_sz

Author: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://postgr.es/m/e08317a0-a2e7-c60d-c14a-ad9fc34f8f6c%40eisentraut.org
pull/144/head
Peter Eisentraut 2 years ago
parent 8666cf65ea
commit 688926633f
  1. 2
      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;

Loading…
Cancel
Save