testing/ostest/fpu.c: Fix a printf format warning
This commit is contained in:
parent
916543213f
commit
5555d0ae91
@ -40,6 +40,7 @@
|
|||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -178,7 +179,7 @@ static void fpu_dump(FAR uint32_t *buffer, FAR const char *msg)
|
|||||||
|
|
||||||
if (k < FPU_WORDSIZE)
|
if (k < FPU_WORDSIZE)
|
||||||
{
|
{
|
||||||
printf("%08x ", buffer[k]);
|
printf("%08" PRIx32 " ", buffer[k]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user