mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Fix MinGW warnings
I finally got SF to compile under MinGW (after adding pthread libraries) and here are the fixed warnings. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -138,7 +138,10 @@ namespace {
|
||||
else if (token == "d")
|
||||
pos.print();
|
||||
else if (token == "flip")
|
||||
pos.flipped_copy(Position(pos, pos.thread()));
|
||||
{
|
||||
Position p(pos, pos.thread());
|
||||
pos.flipped_copy(p);
|
||||
}
|
||||
else if (token == "eval")
|
||||
{
|
||||
Value evalMargin;
|
||||
|
||||
Reference in New Issue
Block a user