Remove superfluous cast

closes https://github.com/official-stockfish/Stockfish/pull/6277

No functional change
This commit is contained in:
Sebastian Buchwald
2025-08-30 15:14:51 +02:00
committed by Joost VandeVondele
parent 6a6dadb5a6
commit 7a3483fa9e
+1 -1
View File
@@ -79,7 +79,7 @@ std::ostream& operator<<(std::ostream& os, const Position& pos) {
for (Bitboard b = pos.checkers(); b;)
os << UCIEngine::square(pop_lsb(b)) << " ";
if (int(Tablebases::MaxCardinality) >= popcount(pos.pieces()) && !pos.can_castle(ANY_CASTLING))
if (Tablebases::MaxCardinality >= popcount(pos.pieces()) && !pos.can_castle(ANY_CASTLING))
{
StateInfo st;