Skip to content

Commit

Permalink
Fix nasa#809, cast args to printf in queue-test
Browse files Browse the repository at this point in the history
Using %u conversion requires unsigned int arg, not necessarily uint32
  • Loading branch information
jphickey committed Feb 12, 2021
1 parent 09a2c5e commit 6173a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/queue-test/queue-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
Expand Down

0 comments on commit 6173a57

Please sign in to comment.