From 5555d0ae91c6cc5040974362a4a1165663e46965 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Nov 2020 17:00:37 +0900 Subject: [PATCH] testing/ostest/fpu.c: Fix a printf format warning --- testing/ostest/fpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/ostest/fpu.c b/testing/ostest/fpu.c index 6f21ba966..4a98ce01e 100644 --- a/testing/ostest/fpu.c +++ b/testing/ostest/fpu.c @@ -40,6 +40,7 @@ #include #include +#include #include #include #include @@ -178,7 +179,7 @@ static void fpu_dump(FAR uint32_t *buffer, FAR const char *msg) if (k < FPU_WORDSIZE) { - printf("%08x ", buffer[k]); + printf("%08" PRIx32 " ", buffer[k]); } else {