diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 20:14:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 20:14:28 +0000 |
commit | 6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244 (patch) | |
tree | 20e09782334afd21414000fcaebf2742e9f4ba8c /cpu-exec.c | |
parent | bd37ec214154c0bd863e1b36a2a945169808e620 (diff) |
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3617 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index aa58cbb24a..8de14e280e 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -758,7 +758,7 @@ void cpu_x86_fsave(CPUX86State *s, uint8_t *ptr, int data32) saved_env = env; env = s; - helper_fsave((target_ulong)ptr, data32); + helper_fsave((target_ulong)(unsigned long)ptr, data32); env = saved_env; } @@ -770,7 +770,7 @@ void cpu_x86_frstor(CPUX86State *s, uint8_t *ptr, int data32) saved_env = env; env = s; - helper_frstor((target_ulong)ptr, data32); + helper_frstor((target_ulong)(unsigned long)ptr, data32); env = saved_env; } |