From a1ad0db8a6d829eddf1478cee44ae976bbcd325f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 6 Apr 2026 14:48:54 +0100 Subject: Fix integer conversions in code, tests and some tools --- src/arch/avx2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/avx2.h') diff --git a/src/arch/avx2.h b/src/arch/avx2.h index 21a6f3b..801419e 100644 --- a/src/arch/avx2.h +++ b/src/arch/avx2.h @@ -37,7 +37,7 @@ popcount_u32(uint32_t x) STATIC_INLINE int popcount_u64(uint64_t x) { - return _mm_popcnt_u64(x); + return (int)_mm_popcnt_u64(x); } STATIC void -- cgit v1.3