Fix warnings in cpluspluscheck
authorJohn Naylor <john.naylor@postgresql.org>
Thu, 8 Feb 2024 03:04:57 +0000 (10:04 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Thu, 8 Feb 2024 03:07:26 +0000 (10:07 +0700)
commit25799850867292efecf34da73db4ea1ad1aad573
treefcaf7ae08973576703857c1cdf442cc6bb6e2b94
parenta4012a697e806708172ce23be14c6ffebdf8e460
Fix warnings in cpluspluscheck

Various int variables were compared to macros that are of type size_t,
which caused -Wsign-compare warnings in cpluspluscheck.  Change those
to size_t, which also better describes their purpose.

Per report from Peter Eisentraut

Discussion: https://postgr.es/m/486847dc-6de5-464a-938e-bac98ec2438b%40eisentraut.org
src/include/common/hashfn_unstable.h