From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove some unnecessary casts in format arguments
Date: Sun, 08 Aug 2021 20:08:35 +0000
Message-ID: <E1mCp63-0006Oy-I9@gemulon.postgresql.org> (raw)
Remove some unnecessary casts in format arguments
We can use %zd or %zu directly, no need to cast to int. Conversely,
some code was casting away from int when it could be using %d
directly.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ae03a7c7391dfc59f14226b7cfd8ef9f3390e56f
Modified Files
--------------
src/backend/access/spgist/spgutils.c | 8 ++++----
src/backend/access/transam/xlogutils.c | 4 ++--
src/backend/utils/adt/xml.c | 4 ++--
src/bin/pg_basebackup/receivelog.c | 6 +++---
src/bin/pg_waldump/pg_waldump.c | 8 ++++----
5 files changed, 15 insertions(+), 15 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Remove some unnecessary casts in format arguments
In-Reply-To: <E1mCp63-0006Oy-I9@gemulon.postgresql.org>
References: <E1mCp63-0006Oy-I9@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox