From e94d449d6fedb4f51f5751eceb6a41a51340d408 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sun, 22 Nov 2009 22:29:28 +0000 Subject: * cgen-trace.h (trace_extract): Add cast to fix warning. --- sim/common/cgen-trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/common/cgen-trace.c') diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c index 9b0367f..b984ea8 100644 --- a/sim/common/cgen-trace.c +++ b/sim/common/cgen-trace.c @@ -192,7 +192,7 @@ trace_extract (SIM_CPU *cpu, IADDR pc, char *name, ...) va_start (args, name); trace_printf (CPU_STATE (cpu), cpu, "Extract: 0x%.*lx: %s ", - SIZE_PC, pc, name); + SIZE_PC, (unsigned long) pc, name); do { int type,ival; -- cgit v1.1