From a474f0f93241672f804f88bdf934ab85e79f20c5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Jul 2020 10:36:51 +0200 Subject: Add missing consts --- test/ringbuffer_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp index 58c0eb1..37a2740 100644 --- a/test/ringbuffer_test.cpp +++ b/test/ringbuffer_test.cpp @@ -50,7 +50,7 @@ gen_msg(int* msg, int start) } void -check_msg(int* msg1, int* msg2) +check_msg(const int* msg1, const int* msg2) { for (unsigned i = 0u; i < MSG_SIZE; ++i) { assert(msg1[i] == msg2[i]); -- cgit v1.2.1