From 8421d9e56f2beb6096366e878dba1b655f06914a Mon Sep 17 00:00:00 2001 From: malc Date: Wed, 12 Nov 2008 20:36:21 +0000 Subject: [PATCH] Avoid compiler warning git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5710 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/ppc64/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 9ae7c4311d..5ccb2f4e61 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -901,7 +901,7 @@ static void ppc_addi64 (TCGContext *s, int rt, int ra, tcg_target_long si) { /* XXX: suboptimal */ if (si == (int16_t) si - || (((uint64_t) si >> 31) == 0) && (si & 0x8000) == 0) + || ((((uint64_t) si >> 31) == 0) && (si & 0x8000) == 0)) ppc_addi32 (s, rt, ra, si); else { tcg_out_movi (s, TCG_TYPE_I64, 0, si);