aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--cpu-exec.c4
-rw-r--r--vl.c2
2 files changed, 3 insertions, 3 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;
}
diff --git a/vl.c b/vl.c
index d281f8a..1586f12 100644
--- 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