From 18df1698f43f6c3c72ade97a4d89d489f3fa929c Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 19 Nov 2016 09:35:57 +0100 Subject: [PATCH] Fix compile error from previous patch Due to different types on some platforms. No functional change. --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 5dff67f2..2e4ec5ec 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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; } -- 2.39.2