--- c/src/libchip/network/dec21140.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/c/src/libchip/network/dec21140.c b/c/src/libchip/network/dec21140.c index 3bfc91d..b76c02a 100644 --- a/c/src/libchip/network/dec21140.c +++ b/c/src/libchip/network/dec21140.c @@ -36,6 +36,7 @@ */ #include <rtems.h> +#include <inttype.h> /* * This driver only supports architectures with the new style @@ -1020,7 +1021,8 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach) #ifdef DEC_DEBUG - printk("dec2114x : unit %d base address %08x.\n", unitNumber, sc->base ); + printk("dec2114x : unit %d base address %" PRIu32PTR ".\n", unitNumber, + sc->base ); #endif -- 2.7.4 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel