From 5d024825be86255d4bf99f9f8004b7b21493147f Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Wed, 30 Sep 2009 19:44:18 +0200 Subject: 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 Signed-off-by: Blue Swirl --- linux-user/arm/nwfpe/fpa11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/arm/nwfpe/fpa11.c b/linux-user/arm/nwfpe/fpa11.c index 3ff80ebc88..c4461e010a 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); -- cgit v1.2.3