X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=thunk.h;h=87025c3b04dd91e78008830281fbbced24e133f6;hb=c8aba9ced945a59fe2638d34660a940a3e727038;hp=5be8f912f5ee2ba656dacc2ae19aba60e782f361;hpb=4e1957acc854b2f3f3068c75cef2a429f9b97011;p=qemu.git diff --git a/thunk.h b/thunk.h index 5be8f912f..87025c3b0 100644 --- a/thunk.h +++ b/thunk.h @@ -113,7 +113,7 @@ static inline int thunk_type_size(const argtype *type_ptr, int is_host) defined(HOST_PARISC) || defined(HOST_SPARC64) return 4; #elif defined(HOST_PPC) - return HOST_LONG_SIZE; + return sizeof(void *); #else return 2; #endif