]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Make casting styles consistent
[stockfish] / src / bitboard.h
index c05b6e3f8cfb182dbcaef174b8d4a8e37c6ea529..dee73b4b3f70285016e601032cd4ed65738f65a8 100644 (file)
@@ -264,7 +264,7 @@ inline int popcount(Bitboard b) {
 
 #elif defined(_MSC_VER)
 
-  return (int)_mm_popcnt_u64(b);
+  return int(_mm_popcnt_u64(b));
 
 #else // Assumed gcc or compatible compiler