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