From 99c1ea7a8aacaafab5f43da699e53c38c8423649 Mon Sep 17 00:00:00 2001 From: Leonid Evdokimov Date: Mon, 2 Sep 2024 20:39:48 +0300 Subject: [PATCH] Hopefully, fix macOS build with Xcode 15.4 --- PMP_Multilinear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PMP_Multilinear.h b/PMP_Multilinear.h index 9d24e730..e3513521 100644 --- a/PMP_Multilinear.h +++ b/PMP_Multilinear.h @@ -1418,7 +1418,7 @@ class PMP_Multilinear_Hasher uint32_t hiProduct = c_ctr.HighPart * prevConstTerm.HighPart + midProduct.HighPart; constTerm.QuadPart += lowProduct.QuadPart; - ctr += hiProduct + ( constTerm.QuadPart < lowProduct.QuadPart ); + ctr += hiProduct + ((constTerm.QuadPart < lowProduct.QuadPart) ? 1 : 0); /* for ( uint32_t i=0; i