Re: pgsql: Expand AclMode to 64 bits - Mailing list pgsql-committers

From David Rowley
Subject Re: pgsql: Expand AclMode to 64 bits
Date
Msg-id CAApHDvo=pn01Y_3zASZZqn+cotF1c4QFCwWgk6MiF0VscaE5ug@mail.gmail.com
Whole thread Raw
In response to pgsql: Expand AclMode to 64 bits  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
On Thu, 24 Nov 2022 at 08:44, Andrew Dunstan <andrew@dunslane.net> wrote:
> Expand AclMode to 64 bits

I noticed this causes a few new warnings on MSVC:

acl.c(629): warning C4334: '<<': result of 32-bit shift implicitly
converted to 64 bits (was 64-bit shift intended?)
acl.c(631): warning C4334: '<<': result of 32-bit shift implicitly
converted to 64 bits (was 64-bit shift intended?)
acl.c(1789): warning C4334: '<<': result of 32-bit shift implicitly
converted to 64 bits (was 64-bit shift intended?)

The attached fixes. I'll push this shortly.

David

Attachment

pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Improve indenting in _hash_pgaddtup
Next
From: David Rowley
Date:
Subject: pgsql: Fix some 32-bit shift warnings in MSVC