When compiling on i386 (32bit) compiler choles on this: CC x86_64-softmmu/helper.o cc1: warnings being treated as errors target-i386/helper.c: In function 'cpu_inject_x86_mce': target-i386/helper.c:1153: error: integer constant is too large for 'long' type
qemu_inject_x86_mce() accepts uint64_t as 3rd arg, so we have to add ULL to fix the invocation. Signed-Off-By: Michael Tokarev <[email protected]> --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1152,3 +1152,3 @@ - qemu_inject_x86_mce(env, 1, 0xa000000000000000, 0, 0, 0); + qemu_inject_x86_mce(env, 1, 0xa000000000000000ULL, 0, 0, 0); }
