mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +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
|
else
|
||||||
elog(PANIC, "failed to add item of size %u to SPGiST index page",
|
elog(PANIC, "failed to add item of size %u to SPGiST index page",
|
||||||
size);
|
(int) size);
|
||||||
|
|
||||||
return offnum;
|
return offnum;
|
||||||
}
|
}
|
||||||
@ -844,7 +844,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
|
|||||||
|
|
||||||
if (offnum == InvalidOffsetNumber && !errorOK)
|
if (offnum == InvalidOffsetNumber && !errorOK)
|
||||||
elog(ERROR, "failed to add item of size %u to SPGiST index page",
|
elog(ERROR, "failed to add item of size %u to SPGiST index page",
|
||||||
size);
|
(int) size);
|
||||||
|
|
||||||
return offnum;
|
return offnum;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user