diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-02-15 13:28:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-02-15 13:28:02 +0100 |
commit | f6f764c1318b31c2e3796666d5623614aecb3167 (patch) | |
tree | 08f891c04bf59a9813faf84d3c1194150d1f9274 /c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c | |
parent | sapi: Fix warnings (diff) | |
download | rtems-f6f764c1318b31c2e3796666d5623614aecb3167.tar.bz2 |
bsps/powerpc: Fix warnings
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c | 3 |
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 |