aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r--target-ppc/op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 621b975502..05a6de31d3 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -1998,7 +1998,7 @@ void OPPROTO op_fneg (void)
void OPPROTO op_check_reservation (void)
{
if ((uint32_t)env->reserve == (uint32_t)(T0 & ~0x00000003))
- env->reserve = -1;
+ env->reserve = (target_ulong)-1ULL;
RETURN();
}