1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

Fix compile error from previous patch

Due to different types on some platforms.

No functional change.
This commit is contained in:
Marco Costalba 2016-11-19 09:35:57 +01:00
parent 7f4de0196b
commit 18df1698f4

View 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;
}