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>
This commit is contained in:
Michael S. Tsirkin 2009-09-30 19:44:18 +02:00 committed by Blue Swirl
parent bdd7e1bc6f
commit 5d024825be

View File

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