summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libmisc/mouse/serial_mouse.c2
-rw-r--r--cpukit/libmisc/stackchk/check.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/mouse/serial_mouse.c b/cpukit/libmisc/mouse/serial_mouse.c
index 38f5376636..eb993b419e 100644
--- a/cpukit/libmisc/mouse/serial_mouse.c
+++ b/cpukit/libmisc/mouse/serial_mouse.c
@@ -169,7 +169,7 @@ rtems_device_driver serial_mouse_control(
switch( args->command ) {
case MW_UID_REGISTER_DEVICE:
- printk( "SerialMouse: reg=%s\n", args->buffer );
+ printk( "SerialMouse: reg=%s\n", (const char*) args->buffer );
mouse_parser_initialize( serial_mouse_type );
break;
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index 93d45de77c..e8e360de15 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -446,13 +446,13 @@ static void Stack_check_Dump_threads_usage(
}
#if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)
else {
- rtems_printf( printer, "0x%08" PRIx32 " INTR", ~0 );
+ rtems_printf( printer, "0x%08x INTR", ~0 );
}
#endif
rtems_printf(
printer,
- " %010p - %010p %010p %8" PRId32 " ",
+ " %p - %p %p %8" PRId32 " ",
stack->area,
stack->area + stack->size - 1,
current,