1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 11:39:15 +00:00

Fix a warning with MSVC

Introduced by 2dd24dc4e6 ("Use popcount intrinsic with Intel")

No functional change.
This commit is contained in:
Marco Costalba 2016-05-01 15:10:33 +02:00
parent dc0030de4f
commit 3487eb9f9e

View file

@ -270,7 +270,7 @@ inline int popcount(Bitboard b) {
#elif defined(_MSC_VER) || defined(__INTEL_COMPILER) #elif defined(_MSC_VER) || defined(__INTEL_COMPILER)
return _mm_popcnt_u64(b); return (int)_mm_popcnt_u64(b);
#elif defined(_MSC_VER) #elif defined(_MSC_VER)