From 2344ab330ceb73c990cef3d4c2ac23ea5331b606 Mon Sep 17 00:00:00 2001 From: Yin Sun Date: Sun, 16 Jan 2022 20:17:35 -0800 Subject: [PATCH] fix build warning int convertion to ULL --- src/TransTableS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TransTableS.cpp b/src/TransTableS.cpp index 8f99fdde..be5502bd 100644 --- a/src/TransTableS.cpp +++ b/src/TransTableS.cpp @@ -519,7 +519,7 @@ void TransTableS::AddLenSet( // The memory chunk for the posSearchTypeSmall structure // will be exceeded. - const int incr = (LSIZE+1) * sizeof(posSearchTypeSmall); + const unsigned int incr = (LSIZE+1) * sizeof(posSearchTypeSmall); if ((allocmem + incr > maxmem) || (lcount[trick][firstHand] >= maxIndex)) {