From b19839da382a4755e91d0a943b6d89d13fd74972 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Mar 2015 20:54:49 -0400 Subject: sim: bfin: fix signed warning Fix the type of the local var to match the function it is passed to. --- sim/bfin/bfin-sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/bfin/bfin-sim.c') diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c index 179d2b6..364ee29 100644 --- a/sim/bfin/bfin-sim.c +++ b/sim/bfin/bfin-sim.c @@ -4537,7 +4537,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1) else if ((aop == 0 || aop == 1) && aopcde == 14 && x == 0 && s == 0) { bs40 src_acc = get_extended_acc (cpu, aop); - int v = 0; + bu32 v = 0; TRACE_INSN (cpu, "A%i = - A%i;", HL, aop); -- cgit v1.1