From 001f640affc53ce2672bff905d189b98d1d03aab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Dec 2021 17:09:43 -0500 Subject: Suppress new warnings in clang-tidy 13 --- test/ring_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ring_test.c') 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); -- cgit v1.2.1