pgsql: Force use of "%I64d" format for 64 bit ints on MinGW.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Force use of "%I64d" format for 64 bit ints on MinGW.
Date: 2011-04-27 14:14:20
Message-ID: E1QF5VU-0003bL-2m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Force use of "%I64d" format for 64 bit ints on MinGW.

Both this and "%lld" work, but the compiler's format checking doesn't
like "%lld", so we get all sorts of spurious warnings.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/52d01c2f52c462d29ae0fdfa44c3cae129148a6d

Modified Files
--------------
src/include/port/win32.h | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-04-27 15:09:13 pgsql: Remove hard coded formats for INT64 and use configured settings
Previous Message Andrew Dunstan 2011-04-27 14:03:19 pgsql: Use an explicit format string to keep the compiler happy.