1
0
Fork 0

Fix compile for 64 bits

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
sf_2.3.1_base
Marco Costalba 2011-12-08 13:55:27 +01:00
parent 6e05055f06
commit 47bcb892af
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ void Search::think() {
// Do we have to play with skill handicap? In this case enable MultiPV that
// we will use behind the scenes to retrieve a set of possible moves.
SkillLevelEnabled = (SkillLevel < 20);
MultiPV = (SkillLevelEnabled ? std::max(UCIMultiPV, 4U) : UCIMultiPV);
MultiPV = (SkillLevelEnabled ? std::max(UCIMultiPV, (size_t)4) : UCIMultiPV);
// Write current search header to log file
if (Options["Use Search Log"].value<bool>())