pgsql: Remove unnecessary casts from size_t to int

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary casts from size_t to int
Date: 2019-07-04 15:02:41
Message-ID: E1hj3Fx-0005qX-PD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary casts from size_t to int

We can use the %zu format specifier directly, no need to cast to int.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d5ab9df7774b4570ff50e64b7fa3ba8295596d06

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.addons | 4 ++--
src/interfaces/ecpg/preproc/ecpg.trailer | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2019-07-05 01:06:08 pgsql: Simplify pg_mcv_list (de)serialization
Previous Message Peter Eisentraut 2019-07-04 11:36:17 pgsql: Clean up whitespace a bit