diff options
-rw-r--r-- | cpu-exec.c | 4 | ||||
-rw-r--r-- | vl.c | 2 |
2 files changed, 3 insertions, 3 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; } @@ -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 |