Suppress compiler warnings on mingw

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-patches(at)postgresql(dot)org
Subject: Suppress compiler warnings on mingw
Date: 2008-03-14 02:54:34
Message-ID: 20080314114059.63D8.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Here is a patch to suppress compiler warnings in mingw build.

- Remove unused local variables.
- Cast DWORD to unsigned integer explicitly.
DWORD is always 32bit integer on both 32bit and 64bit Windows.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Attachment Content-Type Size
mingw-warnings.patch application/octet-stream 1.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2008-03-14 04:40:45 Re: Suppress compiler warnings on mingw
Previous Message Richard Wang 2008-03-14 01:25:57 Re: bug in numeric_power() function