From bd37ec214154c0bd863e1b36a2a945169808e620 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 11 Nov 2007 19:50:22 +0000 Subject: removed warning git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3616 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/exec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-i386') diff --git a/target-i386/exec.h b/target-i386/exec.h index 8e2a553..70fac64 100644 --- a/target-i386/exec.h +++ b/target-i386/exec.h @@ -419,12 +419,12 @@ static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr) static inline CPU86_LDouble helper_fldt(target_ulong ptr) { - return *(CPU86_LDouble *)ptr; + return *(CPU86_LDouble *)(unsigned long)ptr; } static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr) { - *(CPU86_LDouble *)ptr = f; + *(CPU86_LDouble *)(unsigned long)ptr = f; } #else -- cgit v1.1