mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Fix a warning with MSVC
Introduced by 2dd24dc4e6 ("Use popcount intrinsic with Intel")
No functional change.
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user