This commit is contained in:
Andrew Kane
2023-08-01 19:33:38 -07:00
parent ae78f732ef
commit e2a8dd6594
2 changed files with 2 additions and 2 deletions

View File

@@ -308,7 +308,7 @@ UpdateNeighborPages(Relation index, HnswElement e, int m, List *updates)
idx = HnswGetIndex(update, m);
/* Make robust against issues */
if (idx < HNSW_NEIGHBOR_COUNT(itemid))
if (idx < (int) HNSW_NEIGHBOR_COUNT(itemid))
{
HnswNeighborTuple ntup = (HnswNeighborTuple) PageGetItem(page, itemid);