]> git.proxmox.com Git - qemu.git/blobdiff - thunk.h
usb-bt: Return NAK instead of STALL when interrupt ep has no data
[qemu.git] / thunk.h
diff --git a/thunk.h b/thunk.h
index 5be8f912f5ee2ba656dacc2ae19aba60e782f361..87025c3b04dd91e78008830281fbbced24e133f6 100644 (file)
--- 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