diff options
| author | 2023-09-06 09:12:58 -0400 | |
|---|---|---|
| committer | 2023-09-06 09:12:58 -0400 | |
| commit | 5e424d791bd98c18a81a36405a419237abcc8116 (patch) | |
| tree | dd83795955a607612d27f324bdb1bfab63de2c38 /src/tests/common/ring_buffer.cpp | |
| parent | Merge pull request #11437 from liamwhite/dump-shenanigans (diff) | |
| parent | msvc: set warning level to /W4 globally (diff) | |
| download | yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.gz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.xz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.zip | |
Merge pull request #11434 from danilaml/fix-warnings
msvc: set warning level to /W4 globally
Diffstat (limited to 'src/tests/common/ring_buffer.cpp')
| -rw-r--r-- | src/tests/common/ring_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/common/ring_buffer.cpp b/src/tests/common/ring_buffer.cpp index e85f9977b..b6e3bc875 100644 --- a/src/tests/common/ring_buffer.cpp +++ b/src/tests/common/ring_buffer.cpp | |||
| @@ -55,7 +55,7 @@ TEST_CASE("RingBuffer: Basic Tests", "[common]") { | |||
| 55 | // Pushing more values than space available should partially succeed. | 55 | // Pushing more values than space available should partially succeed. |
| 56 | { | 56 | { |
| 57 | std::vector<char> to_push(6); | 57 | std::vector<char> to_push(6); |
| 58 | std::iota(to_push.begin(), to_push.end(), 88); | 58 | std::iota(to_push.begin(), to_push.end(), static_cast<char>(88)); |
| 59 | const std::size_t count = buf.Push(to_push); | 59 | const std::size_t count = buf.Push(to_push); |
| 60 | REQUIRE(count == 3U); | 60 | REQUIRE(count == 3U); |
| 61 | } | 61 | } |