From: Joost VandeVondele Date: Mon, 7 Nov 2016 12:35:28 +0000 (+0100) Subject: Allow benches with more than 2G nodes. X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=61c727fdcbf676632371bb646aa69482096d371d;ds=sidebyside Allow benches with more than 2G nodes. ./stockfish bench 128 1 4000000000 default nodes crashes before, works after. No functional change. --- 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);