diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 19:50:22 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 19:50:22 +0000 |
commit | bd37ec214154c0bd863e1b36a2a945169808e620 (patch) | |
tree | 95243624b7c4306c5a61e84e334842828c52ccd3 /target-i386/exec.h | |
parent | b0b3de8988b9f95f168ef94f8e918402d331db63 (diff) | |
download | qemu-bd37ec214154c0bd863e1b36a2a945169808e620.zip qemu-bd37ec214154c0bd863e1b36a2a945169808e620.tar.gz qemu-bd37ec214154c0bd863e1b36a2a945169808e620.tar.bz2 |
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3616 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/exec.h')
-rw-r--r-- | target-i386/exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |