1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Back out -fstrict-aliasing void* casting.

This commit is contained in:
Bruce Momjian
2003-10-11 18:04:26 +00:00
parent 47ed43440e
commit 7fb9893f42
5 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.18 2003/10/11 16:30:55 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.19 2003/10/11 18:04:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -365,7 +365,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid)
if (hdr->magic != PGShmemMagic)
{
shmdt((void *) hdr);
shmdt(hdr);
return NULL; /* segment belongs to a non-Postgres app */
}