libbsp/.../sparc64/loader/main.c: Use inttypes.h constants to remove 1 warning

This commit is contained in:
Cillian O'Donnell
2017-04-08 11:32:28 +01:00
committed by Joel Sherrill
parent 62c238e8f2
commit 27920db91e

View File

@@ -40,6 +40,7 @@
#include <bsp.h>
#include <rtems/bspIo.h>
#include <inttypes.h>
#include <boot/main.h>
#include <boot/balloc.h>
@@ -313,7 +314,7 @@ void bootstrap(void)
}
}
printk("\nMemory statistics (total %d MB, starting at %x)\n",
printk("\nMemory statistics (total %d MB, starting at %" PRIxPTR ")\n",
bootinfo.memmap.total >> 20, bootinfo.physmem_start);
printk(" %x: kernel entry point\n", KERNEL_VIRTUAL_ADDRESS);
printk(" %x: boot info structure\n", &bootinfo);