From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFovg-0005JD-79 for qemu-devel@nongnu.org; Mon, 26 Jan 2015 14:02:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFovb-0001eS-Hb for qemu-devel@nongnu.org; Mon, 26 Jan 2015 14:02:32 -0500 Received: from mail.uni-paderborn.de ([131.234.142.9]:53249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFovb-0001ds-BT for qemu-devel@nongnu.org; Mon, 26 Jan 2015 14:02:27 -0500 From: Bastian Koppelmann Date: Mon, 26 Jan 2015 20:03:12 +0000 Message-Id: <1422302600-21514-2-git-send-email-kbastian@mail.uni-paderborn.de> In-Reply-To: <1422302600-21514-1-git-send-email-kbastian@mail.uni-paderborn.de> References: <1422302600-21514-1-git-send-email-kbastian@mail.uni-paderborn.de> Subject: [Qemu-devel] [PULL 1/9] target-tricore: Add missing ULL suffix on 64 bit constant List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org From: Peter Maydell Add a missing ULL suffix to a 64 bit constant: this suppresses a compiler warning from mingw32 gcc. Signed-off-by: Peter Maydell Signed-off-by: Bastian Koppelmann --- target-tricore/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-tricore/op_helper.c b/target-tricore/op_helper.c index 13e2729..5704549 100644 --- a/target-tricore/op_helper.c +++ b/target-tricore/op_helper.c @@ -994,7 +994,7 @@ uint32_t helper_sha(CPUTriCoreState *env, target_ulong r1, target_ulong r2) } else if (shift_count > 0) { result = t1 << shift_count; /* calc carry */ - env->PSW_USB_C = ((result & 0xffffffff00000000) != 0); + env->PSW_USB_C = ((result & 0xffffffff00000000ULL) != 0); /* calc v */ env->PSW_USB_V = (((result > 0x7fffffffLL) || (result < -0x80000000LL)) << 31); -- 2.2.2