removed warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3617 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2007-11-11 20:14:28 +00:00
parent bd37ec2141
commit 6dfd59d6a7
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

2
vl.c
View File

@ -6287,7 +6287,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
#else
#warning No CPU save/restore functions
//#warning No CPU save/restore functions
#endif