From b2299b4c8fd8d045262f563c2647e9033a461600 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Nov 2020 17:34:41 +0900 Subject: [PATCH] examples/can/can_main.c: Fix printf format warnings --- examples/can/can_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/can/can_main.c b/examples/can/can_main.c index c2b98a571..00fbf4e2b 100644 --- a/examples/can/can_main.c +++ b/examples/can/can_main.c @@ -352,7 +352,7 @@ int main(int argc, FAR char *argv[]) goto errout_with_dev; } - printf(" ID: %4u DLC: %d\n", msgid, msgdlc); + printf(" ID: %4" PRIu32 " DLC: %d\n", msgid, msgdlc); #endif @@ -462,7 +462,7 @@ int main(int argc, FAR char *argv[]) /* Report success */ - printf(" ID: %4u DLC: %d -- OK\n", msgid, msgdlc); + printf(" ID: %4" PRIu32 " DLC: %d -- OK\n", msgid, msgdlc); #else