testing/ostest/fpu.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 17:00:37 +09:00 committed by Xiang Xiao
parent 916543213f
commit 5555d0ae91

View File

@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include <sys/wait.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -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
{