diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-07 21:35:13 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-07 21:35:13 +0000 |
commit | d0cd3b8d84172d6a7a365e41806e37868067b2aa (patch) | |
tree | 987b391799c85cd493caee7efe01f715384c667a /thunk.c | |
parent | 9af9eaaa76b9b1613d84cb3c0b7276984e441f83 (diff) |
64 bit fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@84 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'thunk.c')
-rw-r--r-- | thunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |