From 37e8a778622701496197107542e8bcd705794cde Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 8 May 2025 13:41:51 +0300 Subject: [PATCH] Fix test --- tests/test_file_logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_file_logging.cpp b/tests/test_file_logging.cpp index c6a7eeab..e3155eff 100644 --- a/tests/test_file_logging.cpp +++ b/tests/test_file_logging.cpp @@ -169,7 +169,7 @@ TEST_CASE("rotating_file_logger5", "[rotating_logger]") { logger.reset(); // force flush and close the file // validate that the files were rotated correctly with the new max size and max files - for (int i = 0; i <= max_files; i++) { + for (size_t i = 0; i <= max_files; i++) { // calc filenames // e.g. rotating_log, rotating_log.0 rotating_log.1, rotating_log.2, etc. std::ostringstream oss;