Fix/suppress MSVC warnings
This commit is contained in:
1 parent
63d7f3d116
commit
9ffe98c00e
4 files changed
+7
-3
No files matched your search
@@ -171,7 +171,7 @@ TEST(FormatTest, WriteToOStreamMaxSize) {
|
||||
EXPECT_CALL(buffer, xsputn(data, static_cast<std::streamsize>(n)))
|
||||
.WillOnce(testing::Return(max_streamsize));
|
||||
data += n;
|
||||
size -= n;
|
||||
size -= static_cast<std::size_t>(n);
|
||||
} while (size != 0);
|
||||
fmt::write(os, w);
|
||||
}
|
||||
Reference in new issue
Block a user