Re: Suppress compiler warnings on mingw

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: Suppress compiler warnings on mingw
Date: 2008-03-14 21:18:22
Message-ID: 200803142218.23658.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

ITAGAKI Takahiro wrote:
> DWORD is an alias for 'unsigned long' in 32bit Windows.

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-03-16 23:23:27 Re: Hash Index Build Patch v2
Previous Message Justin 2008-03-14 18:45:47 Re: pgbench not setting scale size correctly?