aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 20:14:28 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 20:14:28 +0000
commit6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244 (patch)
tree20e09782334afd21414000fcaebf2742e9f4ba8c /cpu-exec.c
parentbd37ec214154c0bd863e1b36a2a945169808e620 (diff)
downloadqemu-6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244.zip
qemu-6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244.tar.gz
qemu-6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244.tar.bz2
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index aa58cbb..8de14e2 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;
}