From: Arun Thomas Subject: [PATCH] kvm: x86: Fix building on IA32 machine Date: Tue, 8 Feb 2011 13:17:13 +0100 Message-ID: <1297167433-14515-1-git-send-email-arun.thomas@gmail.com> Cc: Arun Thomas To: kvm@vger.kernel.org Return-path: Received: from mail-ew0-f46.google.com ([209.85.215.46]:61797 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753781Ab1BHMRm (ORCPT ); Tue, 8 Feb 2011 07:17:42 -0500 Received: by ewy5 with SMTP id 5so2879403ewy.19 for ; Tue, 08 Feb 2011 04:17:41 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: Signed-off-by: Arun Thomas --- target-i386/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index 30c5d5e..f439be9 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1150,7 +1150,7 @@ void cpu_inject_x86_mce(CPUState *cenv, int bank, uint64_t status, continue; } - qemu_inject_x86_mce(env, 1, 0xa000000000000000, 0, 0, 0); + qemu_inject_x86_mce(env, 1, 0xa000000000000000ULL, 0, 0, 0); } } } -- 1.7.1