diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 16:24:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-04 16:42:07 +0300 |
commit | 6ec9be89f8cc7bd5521dfe50bd313f9197f08db6 (patch) | |
tree | 25b7b4fb56130a5bc4f4612c09a29c24fae5b0fd /test | |
parent | move away from variable-size ints (diff) | |
download | winapi-common-6ec9be89f8cc7bd5521dfe50bd313f9197f08db6.tar.gz winapi-common-6ec9be89f8cc7bd5521dfe50bd313f9197f08db6.zip |
fix compiler warnings
Diffstat (limited to 'test')
-rw-r--r-- | test/unit_tests/shared/console.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::string> 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()))); |