Passify gcc's warnings.

This commit is contained in:
Andrew Cagney 1997-05-15 00:14:33 +00:00
parent 93555c3b02
commit 2310e3c2b5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu May 15 10:14:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
* insns (do_trap): Printf formatting.
Wed May 14 18:05:50 1997 Mike Meissner <meissner@cygnus.com>
* misc.c (tic80_trace_fpu{3,2,2i}): Align columns with other

View file

@ -1066,7 +1066,7 @@ void::function::do_trap:unsigned32 trap_number
if (!TRACE_ALU_P (CPU))
trace_one_insn (SD, CPU, cia.ip, 1, itable[MY_INDEX].file,
itable[MY_INDEX].line_nr, "trap",
"Trap %d", trap_number);
"Trap %ld", (long) trap_number);
for (i = 0; i < 32; i++)
sim_io_eprintf (SD, "%s0x%.8lx%s", ((i % 8) == 0) ? "\t" : " ", (long)GPR(i),