From d372f2e39a65e2b14fc0335841e652a9d208d3ec Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 26 Mar 2011 08:42:38 +0100 Subject: [PATCH] Fix a compile error with icc No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2