pgsql: Silence a few compiler warnings from gcc on MinGW. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Silence a few compiler warnings from gcc on MinGW.
Date
Msg-id E1QDl6s-00070l-AK@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Silence a few compiler warnings from gcc on MinGW.

Most of these cast DWORD to int or unsigned int for printf type handling.
This is safe even on 64 bit architectures because a DWORD is always 32 bits.

In one case a variable is initialised to keep the compiler happy.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d98711dfef6ade6a26aa0f4c0a775087ed13e060

Modified Files
--------------
src/backend/port/win32/crashdump.c |    9 +++++----
src/backend/port/win32_latch.c     |    4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Update oidjoins regression test for 9.1 catalog schema additions
Next
From: Tom Lane
Date:
Subject: pgsql: Improve findoidjoins to cover more cases.