From 6ec9be89f8cc7bd5521dfe50bd313f9197f08db6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 4 May 2021 16:24:25 +0300 Subject: fix compiler warnings --- test/unit_tests/shared/console.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit_tests') diff --git a/test/unit_tests/shared/console.hpp b/test/unit_tests/shared/console.hpp index cd9cccf..48d1faa 100644 --- a/test/unit_tests/shared/console.hpp +++ b/test/unit_tests/shared/console.hpp @@ -102,9 +102,9 @@ public: } std::vector result; - for (std::size_t i = 0; i < numof_lines; ++i) { + for (int16_t i = 0; i < numof_lines; ++i) { std::wostringstream oss; - for (std::size_t c = 0; c < buffer_size.X; ++c) { + for (int16_t c = 0; c < buffer_size.X; ++c) { oss << buffer[i * buffer_size.X + c].Char.UnicodeChar; } result.emplace_back(boost::trim_right_copy(winapi::narrow(oss.str()))); -- cgit v1.2.3