mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08:00
Fix some warnings under +w1 HP-UX compile
This is the world's fussiest compiler with +w1 Warnings reported by Richard Lloyd. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -111,7 +111,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d,
|
||||
searchTT = ttMoves[0].move = MOVE_NONE;
|
||||
}
|
||||
|
||||
phasePtr += !searchTT - 1;
|
||||
phasePtr += int(!searchTT) - 1;
|
||||
go_next_phase();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user