Commit 6dfd59d6a73f5d8c990a2fbfc4f83fcb70858244
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 | } | ... | ... |