]> git.proxmox.com Git - qemu.git/blobdiff - thunk.h
Remove macro HOST_LONG_SIZE
[qemu.git] / thunk.h
diff --git a/thunk.h b/thunk.h
index 109c541f0f3bd3bc52526456865950294df08096..98107431913ad7d580547069f4cfe5cefe4b7e59 100644 (file)
--- a/thunk.h
+++ b/thunk.h
@@ -99,7 +99,7 @@ static inline int thunk_type_size(const argtype *type_ptr, int is_host)
     case TYPE_PTRVOID:
     case TYPE_PTR:
         if (is_host) {
-            return HOST_LONG_SIZE;
+            return sizeof(void *);
         } else {
             return TARGET_ABI_BITS / 8;
         }
@@ -136,7 +136,7 @@ static inline int thunk_type_align(const argtype *type_ptr, int is_host)
     case TYPE_PTRVOID:
     case TYPE_PTR:
         if (is_host) {
-            return HOST_LONG_SIZE;
+            return sizeof(void *);
         } else {
             return TARGET_ABI_BITS / 8;
         }