X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=c3a4191337d69c4d8f91f637e2c3839b8857eb78;hp=5800a37bb10484526c0aeb923d24c20bd2b0a0d8;hb=4b19430103ac75b574a6b269db447d359814b603;hpb=7c1f8dbde93267c7958a4de5e167a43e38c9e1e9 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; }