From 6173a57e5b4bb0caf539f71d3b487a1833bba992 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Mon, 8 Feb 2021 09:33:57 -0500 Subject: [PATCH] Fix #809, cast args to printf in queue-test Using %u conversion requires unsigned int arg, not necessarily uint32 --- src/tests/queue-test/queue-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/queue-test/queue-test.c b/src/tests/queue-test/queue-test.c index a79caa265..fa03daa89 100644 --- a/src/tests/queue-test/queue-test.c +++ b/src/tests/queue-test/queue-test.c @@ -87,7 +87,7 @@ void task_1(void) { ++task_1_messages; UtAssert_True(data_received == expected, "TASK 1: data_received (%u) == expected (%u)", - data_received, expected); + (unsigned int)data_received, (unsigned int)expected); expected++; }