* cgen-trace.h (trace_extract): Add cast to fix warning.

This commit is contained in:
Doug Evans 2009-11-22 22:29:28 +00:00
parent ca938790c1
commit e94d449d6f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-11-22 Doug Evans <dje@sebabeach.org>
* cgen-trace.h (trace_extract): Add cast to fix warning.
2009-11-05 Doug Evans <dje@sebabeach.org>
* cgen-mem.h (DECLARE_GETT): Don't inline.

View File

@ -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;