OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd7e1b
)
linux-user: fix old style decrement usage
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 30 Sep 2009 17:44:18 +0000
(19:44 +0200)
committer
Blue Swirl
<blauwirbel@gmail.com>
Wed, 30 Sep 2009 18:45:50 +0000
(18:45 +0000)
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>
linux-user/arm/nwfpe/fpa11.c
patch
|
blob
|
history
diff --git
a/linux-user/arm/nwfpe/fpa11.c
b/linux-user/arm/nwfpe/fpa11.c
index
3ff80eb
..
c4461e0
100644
(file)
--- 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);