summaryrefslogtreecommitdiffstats
path: root/test/ringbuffer_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-29 09:04:36 -0400
committerDavid Robillard <d@drobilla.net>2022-07-20 16:24:23 -0400
commitb66f4579222b0466b419961ec59fe0ff4629809d (patch)
tree925fd4b68233cb51ce787c36703f4b142dfc4a49 /test/ringbuffer_test.cpp
parent127ded1247765f9ee0db061bf81cf1d2f0088917 (diff)
downloadraul-b66f4579222b0466b419961ec59fe0ff4629809d.tar.gz
raul-b66f4579222b0466b419961ec59fe0ff4629809d.tar.bz2
raul-b66f4579222b0466b419961ec59fe0ff4629809d.zip
Use uppercase integer literal suffixes
Diffstat (limited to 'test/ringbuffer_test.cpp')
-rw-r--r--test/ringbuffer_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp
index 1f94b02..0a2dd41 100644
--- a/test/ringbuffer_test.cpp
+++ b/test/ringbuffer_test.cpp
@@ -27,7 +27,7 @@
#include <string>
#include <thread>
-constexpr const auto MSG_SIZE = 20u;
+constexpr const auto MSG_SIZE = 20U;
namespace {
@@ -41,7 +41,7 @@ struct Context {
int
gen_msg(int* msg, int start)
{
- for (unsigned i = 0u; i < MSG_SIZE; ++i) {
+ for (unsigned i = 0U; i < MSG_SIZE; ++i) {
msg[i] = start;
start = (start + 1) % INT_MAX;
}
@@ -51,7 +51,7 @@ gen_msg(int* msg, int start)
void
check_msg(const int* msg1, const int* msg2)
{
- for (unsigned i = 0u; i < MSG_SIZE; ++i) {
+ for (unsigned i = 0U; i < MSG_SIZE; ++i) {
assert(msg1[i] == msg2[i]);
}
}