sim: bfin: fix signed warning

Fix the type of the local var to match the function it is passed to.
This commit is contained in:
Mike Frysinger 2015-03-14 20:54:49 -04:00
parent 1303206d7f
commit b19839da38
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* bfin-sim.c (decode_dsp32alu_0): Change v to bu32.
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.

View File

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