removed warning
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 20:14:28 +0000 (20:14 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 20:14:28 +0000 (20:14 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3617 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-exec.c
vl.c

index aa58cbb24acd66f6c15a733cdd8722b48f91212e..8de14e280e157cc8b08934ca87bf6913e587c6db 100644 (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;
 }
diff --git a/vl.c b/vl.c
index d281f8a996bc99731965dcfc04c869971179c4c5..1586f123f3f17df76d02c51f76b45c63cc9dce3c 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -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