Peter Eisentraut <[EMAIL PROTECTED]> wrote:

> Then try using %lu and no casts.  That should get rid of the warnings the 
> proper way.

Ok, I rewrote it to use %lu for format strings.

Jeremy Drake <[EMAIL PROTECTED]> wrote:
> sizeof(DWORD) is always 4, even on 64-bit windows.  sizeof(long) is also
> always 4.

I got it. This change will work on 64-bit windows, because DWORD is
defined as 'unsigned long' there, too. We need to support LLP64
compliers in advance, though.

ITAGAKI Takahiro
NTT Open Source Software Center

Attachment: mingw-warnings.patch
Description: Binary data

Sent via pgsql-patches mailing list (
To make changes to your subscription:

Reply via email to