Replace Remaining Types

Somehow a few size_t slipped through https://github.com/official-stockfish/Stockfish/pull/6874

closes https://github.com/official-stockfish/Stockfish/pull/6897

No functional change
This commit is contained in:
Disservin
2026-06-14 09:58:13 +02:00
parent 718a001e6a
commit 6e4e03fd28
10 changed files with 51 additions and 49 deletions
+2 -1
View File
@@ -18,6 +18,7 @@
#include "benchmark.h"
#include "numa.h"
#include "misc.h"
#include <cstdlib>
#include <fstream>
@@ -483,7 +484,7 @@ BenchmarkSetup setup_benchmark(std::istream& is) {
float totalTime = 0;
for (const auto& game : BenchmarkPositions)
for (size_t i = 0; i < game.size(); ++i)
for (usize i = 0; i < game.size(); ++i)
totalTime += float(getCorrectedTime(i + 1));
float timeScaleFactor = static_cast<float>(desiredTimeS * 1000) / totalTime;