projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7f4de01
)
Fix compile error from previous patch
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 19 Nov 2016 08:35:57 +0000 (09:35 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sat, 19 Nov 2016 08:35:57 +0000 (09:35 +0100)
Due to different types on some platforms.
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
5dff67f
..
2e4ec5e
100644
(file)
--- 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;
}