From: Marco Costalba Date: Sat, 26 Mar 2011 07:42:38 +0000 (+0100) Subject: Fix a compile error with icc X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=d372f2e39a65e2b14fc0335841e652a9d208d3ec Fix a compile error with icc No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 982f2a2c..c393b75b 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1056,7 +1056,7 @@ split_point_start: // At split points actual search starts from here if (abs(ttValue) < VALUE_KNOWN_WIN) { - Value b = ttValue - depth; + Value b = ttValue - int(depth); ss->excludedMove = move; ss->skipNullMove = true; Value v = search(pos, ss, b - 1, b, depth / 2, ply);