From 2ed6e5cc4239fc7a1b2390b8a435a010ce11b4e6 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 2 May 2014 14:28:41 +0200 Subject: [PATCH] fixed Wformat warnings --- tests/test_thread_msg/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_thread_msg/main.c b/tests/test_thread_msg/main.c index 9b0f905b08..f8c27d3538 100644 --- a/tests/test_thread_msg/main.c +++ b/tests/test_thread_msg/main.c @@ -37,11 +37,11 @@ void thread1(void) msg_t msg, reply; msg_receive(&msg); - printf("T1 recv: %d (i=%d)\n", msg.content.value, i); + printf("T1 recv: %" PRIu32 "(i=%d)\n", msg.content.value, i); msg.content.value = i; msg_send_receive(&msg, &reply, p2); - printf("T1 got reply: %d (i=%d)\n", reply.content.value, i); + printf("T1 got reply: %" PRIu32 " (i=%d)\n", reply.content.value, i); } puts("THREAD 1 end\n"); @@ -55,7 +55,7 @@ void thread2(void) msg_t msg, reply; msg_receive(&msg); - printf("T2 got %d (i=%d)\n", msg.content.value, i); + printf("T2 got %" PRIu32 " (i=%d)\n", msg.content.value, i); reply.content.value = msg.content.value; msg_reply(&msg, &reply); }