X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=bf0312c206594b8d80414f6af2a3a48be9b0ce87;hp=f2d1f0686c60925116b5ed08f917f17605d0fcf1;hb=61c727fdcbf676632371bb646aa69482096d371d;hpb=876f07cbeea5b583ca75685cefa0fd4be1e904a4 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index f2d1f068..bf0312c2 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -117,7 +117,7 @@ void benchmark(const Position& current, istream& is) { limits.movetime = stoi(limit); // movetime is in millisecs else if (limitType == "nodes") - limits.nodes = stoi(limit); + limits.nodes = stoll(limit); else if (limitType == "mate") limits.mate = stoi(limit);