Skip to content

Commit 85df5db

Browse files
committed
Fix compiler warning seen on 64-bit machine.
1 parent 8daeb5d commit 85df5db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/spgist/spgutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
832832
}
833833
else
834834
elog(PANIC, "failed to add item of size %u to SPGiST index page",
835-
size);
835+
(int) size);
836836

837837
return offnum;
838838
}
@@ -844,7 +844,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
844844

845845
if (offnum == InvalidOffsetNumber && !errorOK)
846846
elog(ERROR, "failed to add item of size %u to SPGiST index page",
847-
size);
847+
(int) size);
848848

849849
return offnum;
850850
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy