mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix compile error from previous patch
Due to different types on some platforms. No functional change.
This commit is contained in:
@@ -575,7 +575,7 @@ namespace {
|
|||||||
thisThread->resetCalls = false;
|
thisThread->resetCalls = false;
|
||||||
// At low node count increase the checking rate to about 0.1% of nodes
|
// At low node count increase the checking rate to about 0.1% of nodes
|
||||||
// otherwise use a default value.
|
// 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;
|
: 4096;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user