From: Marco Costalba Date: Sat, 26 Mar 2011 07:42:38 +0000 (+0100) Subject: Fix a compile error with icc X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d372f2e39a65e2b14fc0335841e652a9d208d3ec;p=fairystockfish.git 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 982f2a2..c393b75 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);