We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b821a commit 3331180Copy full SHA for 3331180
src/backend/port/sysv_shmem.c
@@ -10,7 +10,7 @@
10
* Portions Copyright (c) 1994, Regents of the University of California
11
*
12
* IDENTIFICATION
13
- * $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 $
14
15
*-------------------------------------------------------------------------
16
*/
@@ -412,7 +412,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid)
412
413
if (hdr->magic != PGShmemMagic)
414
{
415
- shmdt(hdr);
+ shmdt((void *) hdr);
416
return NULL; /* segment belongs to a non-Postgres app */
417
}
418
0 commit comments