From 6887a8119a6726922b6b20ba1d75127bfa4526d1 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 5 Aug 2015 13:58:09 +1000 Subject: [PATCH] Simple example: Fix printf modifier --- examples/simple/simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/simple/simple.c b/examples/simple/simple.c index 3d1ec80..81f645d 100644 --- a/examples/simple/simple.c +++ b/examples/simple/simple.c @@ -25,7 +25,7 @@ void task2(void *pvParameters) while(1) { uint32_t count; if(xQueueReceive(*queue, &count, 1000)) { - printf("Got %d\n", count); + printf("Got %lu\n", count); } else { printf("No msg :(\n"); }