Patchwork [0.14] Fix build on 32 bit hosts

login
register
mail settings
Submitter Blue Swirl
Date Feb. 2, 2011, 7:05 p.m.
Message ID <AANLkTikmyu4jiB27yUhE-fZ4ZbiHG3WkBL-8vPv94HUV@mail.gmail.com>
Download mbox | patch
Permalink /patch/81526/
State New
Headers show

Comments

Blue Swirl - Feb. 2, 2011, 7:05 p.m.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
 target-i386/helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

     }

Patch

diff --git a/target-i386/helper.c b/target-i386/helper.c
index 1217452..4bbf9b1 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, 0xa000000000000000ULL, 0, 0, 0);
             }
         }