qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 3/4] xilinx_axidma: Fix debug mode compile message


From: Peter Crosthwaite
Subject: [Qemu-trivial] [PATCH 3/4] xilinx_axidma: Fix debug mode compile messages
Date: Sat, 26 Jan 2013 12:54:35 -0800

Missing cast one one of the conditionally compiled printfs.

Signed-off-by: Peter Crosthwaite <address@hidden>
---
 hw/xilinx_axidma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c
index d0ee566..cc51584 100644
--- a/hw/xilinx_axidma.c
+++ b/hw/xilinx_axidma.c
@@ -444,7 +444,7 @@ static void axidma_write(void *opaque, hwaddr addr,
             break;
         default:
             D(qemu_log("%s: ch=%d addr=" TARGET_FMT_plx " v=%x\n",
-                  __func__, sid, addr * 4, value));
+                  __func__, sid, addr * 4, (unsigned)value));
             s->regs[addr] = value;
             break;
     }
-- 
1.7.12.1.396.g16eed7c





reply via email to

[Prev in Thread] Current Thread [Next in Thread]