]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Remove unused see_ge() code
[stockfish] / src / bitboard.h
index c05b6e3f8cfb182dbcaef174b8d4a8e37c6ea529..eb2f949d5aa9efe2b588b1e3e90d3301d6716cd9 100644 (file)
@@ -209,7 +209,7 @@ template<> inline int distance<Square>(Square x, Square y) { return SquareDistan
 
 inline int edge_distance(File f) { return std::min(f, File(FILE_H - f)); }
 
-/// attacks_bb(Square) returns the pseudo attacks of the give piece type
+/// attacks_bb(Square) returns the pseudo attacks of the given piece type
 /// assuming an empty board.
 
 template<PieceType Pt>
@@ -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