From dbef8d1ad1412a114fddd715a8333f69ccf82785 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 2 Sep 2023 17:55:48 -0700 Subject: [PATCH] Use int64 for wlen --- src/hnswutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswutils.c b/src/hnswutils.c index 8e6f2a9..c7857d2 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -550,7 +550,7 @@ HnswSearchLayer(Datum q, List *ep, int ef, int lc, Relation index, FmgrInfo *pro List *w = NIL; pairingheap *C = pairingheap_allocate(CompareNearestCandidates, NULL); pairingheap *W = pairingheap_allocate(CompareFurthestCandidates, NULL); - int wlen = 0; + int64 wlen = 0; HASHCTL hash_ctl; HTAB *v;