Revision 6dfd59d6

b/cpu-exec.c
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 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
}
b/vl.c
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

  

Also available in: Unified diff