Fix compiler warning seen on 64-bit machine.

pull/1/head
Tom Lane 14 years ago
parent 8daeb5ddd6
commit 85df5dbf5a
  1. 4
      src/backend/access/spgist/spgutils.c

@ -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…
Cancel
Save