Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3331180

Browse files
committed
shmdt takes a void* parameter, per Kris Jurka.
1 parent00b821a commit3331180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/port/sysv_shmem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.37 2004/09/10 14:24:25 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.38 2004/09/24 05:27:35 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -412,7 +412,7 @@ PGSharedMemoryAttach(IpcMemoryKey key, IpcMemoryId *shmid)
412412

413413
if (hdr->magic!=PGShmemMagic)
414414
{
415-
shmdt(hdr);
415+
shmdt((void*)hdr);
416416
returnNULL;/* segment belongs to a non-Postgres app */
417417
}
418418

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp