summaryrefslogtreecommitdiffstats
path: root/test/ringbuffer_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-28 23:10:43 -0400
committerDavid Robillard <d@drobilla.net>2022-07-14 14:12:35 -0400
commit3ae22e31b51e920d22a4bebb211e82b5d7e7c3f2 (patch)
treecd583bad825477cfbd54764a6ddc638bbda8f717 /test/ringbuffer_test.cpp
parentcde85f3f450f7c3f12e1f7c4a70cb374e4756319 (diff)
downloadraul-3ae22e31b51e920d22a4bebb211e82b5d7e7c3f2.tar.gz
raul-3ae22e31b51e920d22a4bebb211e82b5d7e7c3f2.tar.bz2
raul-3ae22e31b51e920d22a4bebb211e82b5d7e7c3f2.zip
Update clang-tidy and IWYU configuration for clang 14
Diffstat (limited to 'test/ringbuffer_test.cpp')
-rw-r--r--test/ringbuffer_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp
index ee9af30..1f94b02 100644
--- a/test/ringbuffer_test.cpp
+++ b/test/ringbuffer_test.cpp
@@ -109,12 +109,12 @@ main(int argc, char** argv)
Context ctx;
- uint32_t size = 512u;
+ uint32_t size = 512U;
if (argc > 1) {
size = static_cast<uint32_t>(std::stoi(argv[1]));
}
- ctx.n_writes = size * 1024u;
+ ctx.n_writes = size * size_t{1024U};
if (argc > 2) {
ctx.n_writes = std::stoul(argv[2]);
}