Re: hba.c:3160:18: warning: comparison of unsigned enum expression

From: Erik Rijkers <er(at)xs4all(dot)nl>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Jacob Champion <pchampion(at)vmware(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: hba.c:3160:18: warning: comparison of unsigned enum expression
Date: 2021-04-07 12:18:13
Message-ID: 32380915.14810.1617797893491@webmailclassic.xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 2021.04.07. 13:57 Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
>
> On Wed, Apr 07, 2021 at 01:24:01PM +0200, Magnus Hagander wrote:
> > On Wed, Apr 7, 2021 at 1:01 PM Erik Rijkers <er(at)xs4all(dot)nl> wrote:
> > > Recently (last day or so), I get this warning from gcc 10.2:

> [gcc-hba-warning.patch]

FWIW, this fixes the warning.

(and no, I don't think I am using special gcc settings..)

Erik

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2021-04-07 12:20:25 Re: hba.c:3160:18: warning: comparison of unsigned enum expression
Previous Message Michael Paquier 2021-04-07 12:17:45 Re: hba.c:3160:18: warning: comparison of unsigned enum expression