]> git.sesse.net Git - stockfish/commit
Fix a warning with POPCNT and MSVC
authorMarco Costalba <mcostalba@gmail.com>
Sun, 21 Feb 2010 12:44:36 +0000 (13:44 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 21 Feb 2010 12:44:36 +0000 (13:44 +0100)
commit1ea70dd9ddb346aaa23e592edcff9774c305174d
treeed33d2f1282870ef58688d8910569eeebc6dba7f
parent13c096f839f991c5d0da1d9bf8d95eae6d0c0aa0
Fix a warning with POPCNT and MSVC

Intrinsic __popcnt64() returns an unsigned __int64, cast
to an integer and silence the warning.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/bitcount.h