From fcd684b9b45917dbb90e8122faf782e4028fdb42 Mon Sep 17 00:00:00 2001 From: Pavel P Date: Sun, 19 Jan 2025 02:37:35 +0200 Subject: [PATCH] update sizeof check --- lib/common/bitstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/bitstream.h b/lib/common/bitstream.h index 582f9dd72..bc7118b37 100644 --- a/lib/common/bitstream.h +++ b/lib/common/bitstream.h @@ -165,7 +165,7 @@ FORCE_INLINE_TEMPLATE size_t BIT_getLowerBits(BitContainerType bitContainer, U32 # if (defined(__x86_64__) || defined(_M_X64)) && !defined(__ILP32__) return _bzhi_u64(bitContainer, nbBits); # else - DEBUG_STATIC_ASSERT(sizeof(size_t) == sizeof(U32)); + DEBUG_STATIC_ASSERT(sizeof(bitContainer) == sizeof(U32)); return _bzhi_u32(bitContainer, nbBits); # endif #else -- 2.47.2