Skip to content
Snippets Groups Projects
Commit 85df5dbf authored by Tom Lane's avatar Tom Lane
Browse files

Fix compiler warning seen on 64-bit machine.

parent 8daeb5dd
Branches
Tags
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment