]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Perft should return an int64_t not an int
[stockfish] / src / uci.cpp
index 1b10c7b418697c969f00d8f8b9a4e0ed938db3db..28cbacb38f3b6455d7484b5000c1eb09bbb93e77 100644 (file)
@@ -287,7 +287,8 @@ namespace {
 
   void perft(Position& pos, UCIParser& up) {
 
-    int depth, tm, n;
+    int depth, tm;
+    int64_t n;
 
     if (!(up >> depth))
         return;