aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-30 19:44:18 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-30 18:45:50 +0000
commit5d024825be86255d4bf99f9f8004b7b21493147f (patch)
tree8af674e0440ee039913881df0a49171cd4452734 /linux-user/arm
parentbdd7e1bc6f65c42a43f6177c46b95f87398b5411 (diff)
downloadqemu-5d024825be86255d4bf99f9f8004b7b21493147f.zip
qemu-5d024825be86255d4bf99f9f8004b7b21493147f.tar.gz
qemu-5d024825be86255d4bf99f9f8004b7b21493147f.tar.bz2
linux-user: fix old style decrement usage
Modern compilers do not parse "=-" as decrement: you must use "-=" for that. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user/arm')
-rw-r--r--linux-user/arm/nwfpe/fpa11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm/nwfpe/fpa11.c b/linux-user/arm/nwfpe/fpa11.c
index 3ff80eb..c4461e01 100644
--- a/linux-user/arm/nwfpe/fpa11.c
+++ b/linux-user/arm/nwfpe/fpa11.c
@@ -191,7 +191,7 @@ unsigned int EmulateAll(unsigned int opcode, FPA11* qfpa, CPUARMState* qregs)
if(nRc == 1 && get_float_exception_flags(&fpa11->fp_status))
{
//printf("fef 0x%x\n",float_exception_flags);
- nRc=-get_float_exception_flags(&fpa11->fp_status);
+ nRc -= get_float_exception_flags(&fpa11->fp_status);
}
//printf("returning %d\n",nRc);