Fix pointer type of ShmemAllocatorData->index

This went unnoticed in commit e2362eb2bd because the pointer is cast
to/from a void pointer.
This commit is contained in:
Heikki Linnakangas 2026-03-13 11:00:15 +02:00
parent 7d64419f80
commit f30cebb954

View file

@ -87,7 +87,7 @@
typedef struct ShmemAllocatorData
{
Size free_offset; /* offset to first free space from ShmemBase */
HTAB *index; /* copy of ShmemIndex */
HASHHDR *index; /* location of ShmemIndex */
/* protects shared memory and LWLock allocation */
slock_t shmem_lock;