Обсуждение: pgsql: Silence a few compiler warnings from gcc on MinGW.

Поиск
Список
Период
Сортировка

pgsql: Silence a few compiler warnings from gcc on MinGW.

От
Andrew Dunstan
Дата:
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(-)