msvc: set warning level to /W4 globally
And fix a bunch of warnings
This commit is contained in:
parent
89a2d48cf8
commit
785e480b62
13 changed files with 17 additions and 20 deletions
|
@ -55,7 +55,7 @@ TEST_CASE("RingBuffer: Basic Tests", "[common]") {
|
|||
// Pushing more values than space available should partially succeed.
|
||||
{
|
||||
std::vector<char> to_push(6);
|
||||
std::iota(to_push.begin(), to_push.end(), 88);
|
||||
std::iota(to_push.begin(), to_push.end(), static_cast<char>(88));
|
||||
const std::size_t count = buf.Push(to_push);
|
||||
REQUIRE(count == 3U);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue