From: Marco Costalba Date: Thu, 8 Dec 2011 12:55:27 +0000 (+0100) Subject: Fix compile for 64 bits X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=47bcb892af24c35e7757a4e46544cb90a08d2b64;hp=6e05055f06b301b16a37c3178d9d444cd09dc150 Fix compile for 64 bits No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index b781bb77..5d753e8e 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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())