pgsql: Fix warnings in cpluspluscheck

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix warnings in cpluspluscheck
Date: 2024-02-08 03:09:55
Message-ID: E1rXunT-005BMC-C7@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25799850867292efecf34da73db4ea1ad1aad573

Modified Files
--------------
src/include/common/hashfn_unstable.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2024-02-08 08:04:26 pgsql: Fix meson installation of xid_wraparound test.
Previous Message Daniel Gustafsson 2024-02-07 21:24:41 pgsql: Rename static function to avoid conflicting names