aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/insns
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-05-15 00:14:33 +0000
committerAndrew Cagney <cagney@redhat.com>1997-05-15 00:14:33 +0000
commit2310e3c2b5591bfe2459bf6fb36c4ae147c94982 (patch)
tree9de5837abdd7b33f36c4912c34fc6aae9e48dead /sim/tic80/insns
parent93555c3b026cb5cd5a4395b59cdee1ec7944264a (diff)
downloadgdb-2310e3c2b5591bfe2459bf6fb36c4ae147c94982.zip
gdb-2310e3c2b5591bfe2459bf6fb36c4ae147c94982.tar.gz
gdb-2310e3c2b5591bfe2459bf6fb36c4ae147c94982.tar.bz2
Passify gcc's warnings.
Diffstat (limited to 'sim/tic80/insns')
-rw-r--r--sim/tic80/insns2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/tic80/insns b/sim/tic80/insns
index 270b5c4..b823b96 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),