[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] i386: fix MCE compilation
From: |
Dmitry Eremin-Solenikov |
Subject: |
[Qemu-devel] [PATCH] i386: fix MCE compilation |
Date: |
Sun, 6 Feb 2011 01:56:53 +0300 |
This fixes the following error/warning in the target-i386/helper.c
compilation:
target-i386/helper.c: In function ‘cpu_inject_x86_mce’:
target-i386/helper.c:1151: error: integer constant is too large for ‘long’ type
Signed-off-by: Dmitry Eremin-Solenikov <address@hidden>
---
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 1217452..39456bc 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1148,7 +1148,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, 0xa000000000000000LL, 0, 0, 0);
}
}
}
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] i386: fix MCE compilation,
Dmitry Eremin-Solenikov <=