Skip to content

Commit 89a091e

Browse files
committed
Silence compiler warning about printf format for HANDLE.
1 parent 5b76bb1 commit 89a091e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/port/win32_shmem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.14 2010/01/02 16:57:50 momjian Exp $
9+
* $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.15 2010/01/04 01:06:21 itagaki Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -350,7 +350,7 @@ pgwin32_ReserveSharedMemoryRegion(HANDLE hChild)
350350
MEM_RESERVE, PAGE_READWRITE);
351351
if (address == NULL) {
352352
/* Don't use FATAL since we're running in the postmaster */
353-
elog(LOG, "could not reserve shared memory region (addr=%p) for child %lu: %lu",
353+
elog(LOG, "could not reserve shared memory region (addr=%p) for child %p: %lu",
354354
UsedShmemSegAddr, hChild, GetLastError());
355355
return false;
356356
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy