aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2009-11-22 22:29:28 +0000
committerDoug Evans <dje@google.com>2009-11-22 22:29:28 +0000
commite94d449d6fedb4f51f5751eceb6a41a51340d408 (patch)
tree951b7f0b7fc230a627d5be728b6372df84998a47 /sim/common/cgen-trace.c
parentca938790c12fac9816fc9cb61ef2c79f1589c791 (diff)
downloadfsf-binutils-gdb-e94d449d6fedb4f51f5751eceb6a41a51340d408.zip
fsf-binutils-gdb-e94d449d6fedb4f51f5751eceb6a41a51340d408.tar.gz
fsf-binutils-gdb-e94d449d6fedb4f51f5751eceb6a41a51340d408.tar.bz2
* cgen-trace.h (trace_extract): Add cast to fix warning.
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r--sim/common/cgen-trace.c2
1 files changed, 1 insertions, 1 deletions
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;