diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-21 08:21:02 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-21 08:21:02 +0000 |
commit | 1698b74161e9bbcf36c5075fe5b8357024c4b5bb (patch) | |
tree | aa58dca30867a69606ff72b624ee1bc1225ad860 /target-ppc/op.c | |
parent | 3430b0be36fb7f8bd963333d32f0f61c8a130698 (diff) |
Fix compilation on 32 bits hosts (pb reported by Thiemo Seufer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2521 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/op.c')
-rw-r--r-- | target-ppc/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c index 0b972c8e69..f13f6f5676 100644 --- a/target-ppc/op.c +++ b/target-ppc/op.c @@ -720,7 +720,7 @@ void OPPROTO op_check_addo (void) void OPPROTO op_check_addo_64 (void) { if (likely(!(((uint64_t)T2 ^ (uint64_t)T1 ^ UINT64_MAX) & - ((uint64_t)T2 ^ (uint64_t)T0) & (1UL << 63)))) { + ((uint64_t)T2 ^ (uint64_t)T0) & (1ULL << 63)))) { xer_ov = 0; } else { xer_so = 1; |