From: Itagaki Takahiro Date: Mon, 4 Jan 2010 01:06:21 +0000 (+0000) Subject: Silence compiler warning about printf format for HANDLE. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=6d41fb9a8dd3d49b92363bf6c92c898e7cc3ce82;p=users%2Fandresfreund%2Fpostgres.git Silence compiler warning about printf format for HANDLE. --- diff --git a/src/backend/port/win32_shmem.c b/src/backend/port/win32_shmem.c index b6789aaa06..3f37e31b60 100644 --- a/src/backend/port/win32_shmem.c +++ b/src/backend/port/win32_shmem.c @@ -350,7 +350,7 @@ pgwin32_ReserveSharedMemoryRegion(HANDLE hChild) MEM_RESERVE, PAGE_READWRITE); if (address == NULL) { /* Don't use FATAL since we're running in the postmaster */ - elog(LOG, "could not reserve shared memory region (addr=%p) for child %lu: %lu", + elog(LOG, "could not reserve shared memory region (addr=%p) for child %p: %lu", UsedShmemSegAddr, hChild, GetLastError()); return false; }