diff options
| author | Peter Eisentraut | 2025-12-09 05:58:39 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2025-12-09 06:33:08 +0000 |
| commit | 2b117bb014d066549c319dcd73bd538e32b0c408 (patch) | |
| tree | 3241b0bd942cdcb6bbaac7b83dcb06aabb042e81 /src/backend/access/gist/gistutil.c | |
| parent | 0c3c5c3b06a37c13a811ea93044202e06523b705 (diff) | |
Remove unnecessary casts in printf format arguments (%zu/%zd)
Many of these are probably left over from before use of %zu/%zd was
portable.
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/07fa29f9-42d7-4aac-8834-197918cbbab6%40eisentraut.org
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
| -rw-r--r-- | src/backend/access/gist/gistutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gist/gistutil.c b/src/backend/access/gist/gistutil.c index 75272827837..0a29a6013ef 100644 --- a/src/backend/access/gist/gistutil.c +++ b/src/backend/access/gist/gistutil.c @@ -46,8 +46,8 @@ gistfillbuffer(Page page, IndexTuple *itup, int len, OffsetNumber off) l = PageAddItem(page, itup[i], sz, off, false, false); if (l == InvalidOffsetNumber) - elog(ERROR, "failed to add item to GiST index page, item %d out of %d, size %d bytes", - i, len, (int) sz); + elog(ERROR, "failed to add item to GiST index page, item %d out of %d, size %zu bytes", + i, len, sz); off++; } } |
