]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Assume UCI 'nodes' is int64_t instead of int
[stockfish] / src / search.cpp
index 8099787ec71980751e8fa826f641e058326e0609..fedad43241050a6c33007a5b269501f33bf48264 100644 (file)
@@ -1566,7 +1566,7 @@ void check_time() {
   {
       Threads.mutex.lock();
 
   {
       Threads.mutex.lock();
 
-      int nodes = RootPos.nodes_searched();
+      int64_t nodes = RootPos.nodes_searched();
 
       // Loop across all split points and sum accumulated SplitPoint nodes plus
       // all the currently active positions nodes.
 
       // Loop across all split points and sum accumulated SplitPoint nodes plus
       // all the currently active positions nodes.