]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Fix compile error from previous patch
[stockfish] / src / search.cpp
index 5dff67f2a86f0c0f6d4b2d3375af5676a7507f47..2e4ec5ec0889672162fdf25c77317a4aade7165e 100644 (file)
@@ -575,7 +575,7 @@ namespace {
         thisThread->resetCalls = false;
         // At low node count increase the checking rate to about 0.1% of nodes
         // otherwise use a default value.
-        thisThread->callsCnt = Limits.nodes ? std::min(4096LL, Limits.nodes / 1024)
+        thisThread->callsCnt = Limits.nodes ? std::min((int64_t)4096, Limits.nodes / 1024)
                                             : 4096;
     }