summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
index 6ab2864a5d..41edaf5743 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
@@ -18,6 +18,7 @@
#include <string.h>
#include <stdlib.h>
+#include <inttypes.h>
#include <rtems.h>
#include <bsp.h>
@@ -271,7 +272,7 @@ VpdBufRec vpdData [] = {
#ifdef SHOW_MORE_INIT_SETTINGS
printk("Additionnal boot options are %s\n", BSP_commandline_string);
- printk("Initial system stack at %x\n", stack);
+ printk("Initial system stack at %" PRIxPTR "\n", (uintptr_t) stack);
printk("Software IRQ stack starts at %x with size %u\n", intrStackStart, intrStackSize);
#endif