Commit 6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244

Authored by bellard
1 parent bd37ec21

removed warning


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3617 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 3 additions and 3 deletions
cpu-exec.c
... ... @@ -758,7 +758,7 @@ void cpu_x86_fsave(CPUX86State *s, uint8_t *ptr, int data32)
758 758 saved_env = env;
759 759 env = s;
760 760  
761   - helper_fsave((target_ulong)ptr, data32);
  761 + helper_fsave((target_ulong)(unsigned long)ptr, data32);
762 762  
763 763 env = saved_env;
764 764 }
... ... @@ -770,7 +770,7 @@ void cpu_x86_frstor(CPUX86State *s, uint8_t *ptr, int data32)
770 770 saved_env = env;
771 771 env = s;
772 772  
773   - helper_frstor((target_ulong)ptr, data32);
  773 + helper_frstor((target_ulong)(unsigned long)ptr, data32);
774 774  
775 775 env = saved_env;
776 776 }
... ...
... ... @@ -6287,7 +6287,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
6287 6287  
6288 6288 #else
6289 6289  
6290   -#warning No CPU save/restore functions
  6290 +//#warning No CPU save/restore functions
6291 6291  
6292 6292 #endif
6293 6293  
... ...