]> git.proxmox.com Git - qemu.git/blobdiff - exec-all.h
tci: GETPC() macro must return an uintptr_t
[qemu.git] / exec-all.h
index 6bcc07538f283497000e7ac9e155a0f54e3c41cc..937d3cef010e1fac45173db84b8c95edf3d19bfa 100644 (file)
@@ -283,7 +283,7 @@ extern int tb_invalidated_flag;
 /* Alpha and SH4 user mode emulations and Softmmu call GETPC().
    For all others, GETPC remains undefined (which makes TCI a little faster. */
 # if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4)
-extern void *tci_tb_ptr;
+extern uintptr_t tci_tb_ptr;
 #  define GETPC() tci_tb_ptr
 # endif
 #elif defined(__s390__) && !defined(__s390x__)