Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)