X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c393b75b5e4a4ba75998b96c85c5b8316ca0d2fd;hp=982f2a2cd279e26273476d955d75e2305857eef2;hb=d372f2e39a65e2b14fc0335841e652a9d208d3ec;hpb=4270aec55886f56d1d588ea329bb5a1c50998c19 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);