OSDN Git Service

Silence a few compiler warnings from gcc on MinGW.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 23 Apr 2011 22:10:23 +0000 (18:10 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 23 Apr 2011 22:10:23 +0000 (18:10 -0400)
commitd98711dfef6ade6a26aa0f4c0a775087ed13e060
treee119cafaf670df01add6f6840e97e71a51a94ab1
parent970d8a39736fd67e3ebf406ed8129eed0767d15d
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.
src/backend/port/win32/crashdump.c
src/backend/port/win32_latch.c