summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-03-16 20:23:49 +0100
committerStefan Weil <sw@weilnetz.de>2012-04-15 21:25:16 +0200
commitc6d506742fd997a29b611fda11f67c53d60dd5ef (patch)
treed3c63e38fa7de377b7f9eaa062e60d2f876683e3 /exec.c
parent27b0dc16b4e50b59aeefff2bfa73cf2eb8c7a70d (diff)
downloadqemu-c6d506742fd997a29b611fda11f67c53d60dd5ef.tar.gz
w64: Fix data types in cpu-all.h, exec.c
w64 needs uintptr_t instead of unsigned long. For other hosts, nothing changes. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/exec.c b/exec.c
index 68b8a6a2ba..3dda2ca271 100644
--- a/exec.c
+++ b/exec.c
@@ -177,9 +177,9 @@ typedef struct PageDesc {
#define V_L1_SHIFT (L1_MAP_ADDR_SPACE_BITS - TARGET_PAGE_BITS - V_L1_BITS)
-unsigned long qemu_real_host_page_size;
-unsigned long qemu_host_page_size;
-unsigned long qemu_host_page_mask;
+uintptr_t qemu_real_host_page_size;
+uintptr_t qemu_host_page_size;
+uintptr_t qemu_host_page_mask;
/* This is a multi-level map on the virtual address space.
The bottom level has pointers to PageDesc. */