Fix some 32-bit shift warnings in MSVC
authorDavid Rowley <drowley@postgresql.org>
Thu, 24 Nov 2022 22:05:22 +0000 (11:05 +1300)
committerDavid Rowley <drowley@postgresql.org>
Thu, 24 Nov 2022 22:05:22 +0000 (11:05 +1300)
commit2d1f3bce97a9f4ac3ec4acbf337ffef598522216
tree4aa2def50e3bb63c2ebf91a4f85d918a85371437
parentec5affdbc283252327e217f99c45574eb63de051
Fix some 32-bit shift warnings in MSVC

7b378237a widened AclMode to 64 bits which resulted in 3 new additional
warnings on MSVC.  Here we make use of UINT64CONST to reassure the
compiler that we do intend the bit shift expression to yield a 64-bit
result.

Discussion: https://postgr.es/m/CAApHDvo=pn01Y_3zASZZqn+cotF1c4QFCwWgk6MiF0VscaE5ug@mail.gmail.com
src/backend/utils/adt/acl.c