mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
64 bit fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@84 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9af9eaaa76
commit
d0cd3b8d84
1 changed files with 1 additions and 1 deletions
2
thunk.c
2
thunk.c
|
@ -218,7 +218,7 @@ const argtype *thunk_convert(void *dst, const void *src,
|
|||
case TYPE_LONG:
|
||||
case TYPE_ULONG:
|
||||
case TYPE_PTRVOID:
|
||||
if (target_to_host) {
|
||||
if (to_host) {
|
||||
*(uint64_t *)dst = tswap32(*(uint32_t *)src);
|
||||
} else {
|
||||
*(uint32_t *)dst = tswap32(*(uint64_t *)src & 0xffffffff);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue