public inbox for [email protected]  
help / color / mirror / Atom feed
From: John Naylor <[email protected]>
To: [email protected]
Subject: pgsql: Fix warnings in cpluspluscheck
Date: Thu, 08 Feb 2024 03:09:55 +0000
Message-ID: <[email protected]> (raw)

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(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Fix warnings in cpluspluscheck
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox