diff --git a/thunk.h b/thunk.h index c29576609c5a536a0b8e4838db5c5a0131be76b9..5be8f912f5ee2ba656dacc2ae19aba60e782f361 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 TARGET_ABI_BITS / 8; + return HOST_LONG_SIZE; #else return 2; #endif