summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-02-15 13:28:02 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-02-15 13:28:02 +0100
commitf6f764c1318b31c2e3796666d5623614aecb3167 (patch)
tree08f891c04bf59a9813faf84d3c1194150d1f9274 /c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c
parentsapi: Fix warnings (diff)
downloadrtems-f6f764c1318b31c2e3796666d5623614aecb3167.tar.bz2
bsps/powerpc: Fix warnings
Diffstat (limited to '')
-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