summaryrefslogtreecommitdiffstats
path: root/src/tests/common/ring_buffer.cpp
diff options
context:
space:
mode:
authorDanila Malyutin <danilaml@users.noreply.github.com>2023-09-02 19:45:06 +0200
committerDanila Malyutin <danilaml@users.noreply.github.com>2023-09-03 16:42:10 +0200
commit785e480b62f4ed306e389300a533c73f4e03e2bd (patch)
tree3374c36560b8645f2c0a39e950793e0ce8c5163d /src/tests/common/ring_buffer.cpp
parentMerge pull request #11430 from liamwhite/validation-error-whats-that (diff)
downloadyuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.gz
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.bz2
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.lz
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.xz
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.zst
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.zip
Diffstat (limited to '')
-rw-r--r--src/tests/common/ring_buffer.cpp2
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]") {
// 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);
}