mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 14:24:02 +08:00
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3617 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bd37ec2141
commit
6dfd59d6a7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user