mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Fix compiler warning seen on 64-bit machine.
This commit is contained in:
parent
8daeb5ddd6
commit
85df5dbf5a
@ -832,7 +832,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
|
||||
}
|
||||
else
|
||||
elog(PANIC, "failed to add item of size %u to SPGiST index page",
|
||||
size);
|
||||
(int) size);
|
||||
|
||||
return offnum;
|
||||
}
|
||||
@ -844,7 +844,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
|
||||
|
||||
if (offnum == InvalidOffsetNumber && !errorOK)
|
||||
elog(ERROR, "failed to add item of size %u to SPGiST index page",
|
||||
size);
|
||||
(int) size);
|
||||
|
||||
return offnum;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user