X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=21c6ec1123fb43fe4a648d0ccc411e4842d8ed7c;hp=f2d1f0686c60925116b5ed08f917f17605d0fcf1;hb=9da3b44ddc7bc9ea7094b91663cbc0f8319c46be;hpb=8662bdfa124ae3ec90d9bf88842d9cfab9a43532 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index f2d1f068..21c6ec11 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -2,7 +2,7 @@ Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad - Copyright (C) 2015-2016 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad + Copyright (C) 2015-2017 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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);