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:
parent
dc0030de4f
commit
3487eb9f9e
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ inline int popcount(Bitboard b) {
|
|||
|
||||
#elif defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
|
||||
return _mm_popcnt_u64(b);
|
||||
return (int)_mm_popcnt_u64(b);
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue