From 3331180bb4bb04d5d3ba3c39fbf721184b9f08b7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 24 Sep 2004 05:27:35 +0000 Subject: [PATCH] shmdt takes a void* parameter, per Kris Jurka. --- src/backend/port/sysv_shmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/port/sysv_shmem.c b/src/backend/port/sysv_shmem.c index 915b49c806..ca1f34a28c 100644 --- a/src/backend/port/sysv_shmem.c +++ b/src/backend/port/sysv_shmem.c @@ -10,7 +10,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.37 2004/09/10 14:24:25 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.38 2004/09/24 05:27:35 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -412,7 +412,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid) if (hdr->magic != PGShmemMagic) { - shmdt(hdr); + shmdt((void *) hdr); return NULL; /* segment belongs to a non-Postgres app */ } -- 2.40.0