summaryrefslogtreecommitdiffstats
path: root/test/ring_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-17 17:09:43 -0500
committerDavid Robillard <d@drobilla.net>2021-12-17 17:46:29 -0500
commit001f640affc53ce2672bff905d189b98d1d03aab (patch)
tree41989650cd43d697524e0ead091625a6c7ba6263 /test/ring_test.c
parent7290c84ea46bf2edb63054469704c30fa5ea5cd8 (diff)
downloadzix-001f640affc53ce2672bff905d189b98d1d03aab.tar.gz
zix-001f640affc53ce2672bff905d189b98d1d03aab.tar.bz2
zix-001f640affc53ce2672bff905d189b98d1d03aab.zip
Suppress new warnings in clang-tidy 13
Diffstat (limited to 'test/ring_test.c')
-rw-r--r--test/ring_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ring_test.c b/test/ring_test.c
index 2b87efa..af54e0e 100644
--- a/test/ring_test.c
+++ b/test/ring_test.c
@@ -103,10 +103,10 @@ test_ring(const unsigned size)
zix_ring_mlock(ring);
ZixThread reader_thread; // NOLINT
- assert(!zix_thread_create(&reader_thread, MSG_SIZE * 4, reader, NULL));
+ assert(!zix_thread_create(&reader_thread, MSG_SIZE * 4ul, reader, NULL));
ZixThread writer_thread; // NOLINT
- assert(!zix_thread_create(&writer_thread, MSG_SIZE * 4, writer, NULL));
+ assert(!zix_thread_create(&writer_thread, MSG_SIZE * 4ul, writer, NULL));
zix_thread_join(reader_thread, NULL);
zix_thread_join(writer_thread, NULL);