From: Andrew Cagney Date: Thu, 15 May 1997 00:14:33 +0000 (+0000) Subject: Passify gcc's warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2310e3c2b5591bfe2459bf6fb36c4ae147c94982;p=binutils-gdb.git Passify gcc's warnings. --- diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog index 9c6908d0d47..ea9bb67bde9 100644 --- a/sim/tic80/ChangeLog +++ b/sim/tic80/ChangeLog @@ -1,3 +1,7 @@ +Thu May 15 10:14:06 1997 Andrew Cagney + + * insns (do_trap): Printf formatting. + Wed May 14 18:05:50 1997 Mike Meissner * misc.c (tic80_trace_fpu{3,2,2i}): Align columns with other diff --git a/sim/tic80/insns b/sim/tic80/insns index 270b5c4b071..b823b96cb97 100644 --- a/sim/tic80/insns +++ b/sim/tic80/insns @@ -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),