diff --git a/src/attack_prediction.cpp b/src/attack_prediction.cpp index b6d774ff8c2f..d1b19787deff 100644 --- a/src/attack_prediction.cpp +++ b/src/attack_prediction.cpp @@ -2707,12 +2707,12 @@ static void run(unsigned specific_battle) auto total = end - start; #ifdef BENCHMARK - printf("Total time for %i combats was %lf\n", NUM_UNITS * (NUM_UNITS - 1) * (NUM_UNITS - 2), + printf("Total time for %u combats was %lf\n", NUM_UNITS * (NUM_UNITS - 1) * (NUM_UNITS - 2), static_cast(duration_cast(total).count()) / 1000000.0); printf("Time per calc = %li us\n", static_cast(duration_cast(total).count()) / (NUM_UNITS * (NUM_UNITS - 1) * (NUM_UNITS - 2))); #else - printf("Total combats: %i\n", NUM_UNITS * (NUM_UNITS - 1) * (NUM_UNITS - 2)); + printf("Total combats: %u\n", NUM_UNITS * (NUM_UNITS - 1) * (NUM_UNITS - 2)); #endif for(i = 0; i < NUM_UNITS; ++i) {