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 {