diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-16 12:13:52 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-16 12:13:52 +0000 |
commit | 526ccb7a26fea4b07eae4d34c8ad0599802a93ce (patch) | |
tree | 34ff707ff9bc0d57dd583c1b19f683defcfea80a /target-sh4 | |
parent | c5f2f66835c8b42fc58c7af9a4454be708304cfa (diff) |
Fix a bunch of type mismatch-related warnings (Jan Kiszka).
Fix a typo in my previous comming (spotted by Laurent Desnouges).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4877 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sh4/op.c b/target-sh4/op.c index 4dc7193e19..22d49138fb 100644 --- a/target-sh4/op.c +++ b/target-sh4/op.c @@ -594,7 +594,7 @@ void OPPROTO op_shlr16_Rn(void) void OPPROTO op_tasb_rN(void) { - cond_t((env->gregs[PARAM1] && 0xff) == 0); + cond_t((env->gregs[PARAM1] & 0xff) == 0); *(int8_t *) &env->gregs[PARAM1] |= 0x80; RETURN(); } |