Remove some unnecessary casts in format arguments
Peter Eisentraut <peter@eisentraut.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/spgist/spgutils.c | modified | +4 −4 |
| src/backend/access/transam/xlogutils.c | modified | +2 −2 |
| src/backend/utils/adt/xml.c | modified | +2 −2 |
| src/bin/pg_basebackup/receivelog.c | modified | +3 −3 |
| src/bin/pg_waldump/pg_waldump.c | modified | +4 −4 |