Message ID | 6AE2C3A0-C56C-43D9-86CB-9DB62087AD67@suse.de |
---|---|
State | New |
Headers | show |
diff --git a/thunk.h b/thunk.h index c295766..87025c3 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 sizeof(void *); #else return 2; #endif