aboutsummaryrefslogtreecommitdiff
path: root/thunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'thunk.h')
-rw-r--r--thunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thunk.h b/thunk.h
index 5be8f912f5..87025c3b04 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