mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
shmdt takes a void* parameter, per Kris Jurka.
This commit is contained in:
parent
00b821a11b
commit
3331180bb4
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue