update sizeof check
This commit is contained in:
1 parent
462484d5dc
commit
fcd684b9b4
1 file changed
+1
-1
@@ -165,7 +165,7 @@ FORCE_INLINE_TEMPLATE size_t BIT_getLowerBits(BitContainerType bitContainer, U32
|
|||||||
# if (defined(__x86_64__) || defined(_M_X64)) && !defined(__ILP32__)
|
# if (defined(__x86_64__) || defined(_M_X64)) && !defined(__ILP32__)
|
||||||
return _bzhi_u64(bitContainer, nbBits);
|
return _bzhi_u64(bitContainer, nbBits);
|
||||||
# else
|
# else
|
||||||
DEBUG_STATIC_ASSERT(sizeof(size_t) == sizeof(U32));
|
DEBUG_STATIC_ASSERT(sizeof(bitContainer) == sizeof(U32));
|
||||||
return _bzhi_u32(bitContainer, nbBits);
|
return _bzhi_u32(bitContainer, nbBits);
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in new issue
Block a user