From 8a99a139ba3683e981c9e71c57f7fce313d92cae Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 31 Jan 2008 17:59:22 +0000 Subject: Z16F integration changes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@595 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/z16/src/common/up_schedulesigaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/arch/z16/src/common/up_schedulesigaction.c') diff --git a/nuttx/arch/z16/src/common/up_schedulesigaction.c b/nuttx/arch/z16/src/common/up_schedulesigaction.c index 3284fd1bf..f085b2e95 100644 --- a/nuttx/arch/z16/src/common/up_schedulesigaction.c +++ b/nuttx/arch/z16/src/common/up_schedulesigaction.c @@ -104,7 +104,7 @@ void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver) { /* Refuse to handle nested signal actions */ - dbg("tcb=0x%p sigdeliver=0x%04x\n", tcb, (chipreg_t)sigdeliver); + dbg("tcb=0x%p sigdeliver=0x%06x\n", tcb, (uint32)sigdeliver); if (!tcb->xcp.sigdeliver) { @@ -141,7 +141,7 @@ void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver) else { - uint32 *current_pc = (uint32*)¤t_regs[REG_PC]; + FAR uint32 *current_pc = (FAR uint32*)¤t_regs[REG_PC]; /* Save the return address and interrupt state. * These will be restored by the signal trampoline after -- cgit v1.2.3