X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=c3a4191337d69c4d8f91f637e2c3839b8857eb78;hb=dba1bc354a74bf7774c453ac779b3ce462c2b8e2;hp=5800a37bb10484526c0aeb923d24c20bd2b0a0d8;hpb=90ec4a403ae326b85dfa68afd5fd7ed47d5bc651;p=stockfish diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 5800a37b..c3a41913 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -120,7 +120,7 @@ void benchmark(const Position& current, istream& is) { if (limitType == "perft") { - int64_t cnt = Search::perft(pos, limits.depth * ONE_PLY); + size_t cnt = Search::perft(pos, limits.depth * ONE_PLY); cerr << "\nPerft " << limits.depth << " leaf nodes: " << cnt << endl; nodes += cnt; }