diff options
Diffstat (limited to 'util/osdep.c')
-rw-r--r-- | util/osdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/osdep.c b/util/osdep.c index 84575ec218..97dc9bc65b 100644 --- a/util/osdep.c +++ b/util/osdep.c @@ -69,8 +69,8 @@ int qemu_madvise(void *addr, size_t len, int advice) static int qemu_mprotect__osdep(void *addr, size_t size, int prot) { - g_assert(!((uintptr_t)addr & ~qemu_real_host_page_mask)); - g_assert(!(size & ~qemu_real_host_page_mask)); + g_assert(!((uintptr_t)addr & ~qemu_real_host_page_mask())); + g_assert(!(size & ~qemu_real_host_page_mask())); #ifdef _WIN32 DWORD old_protect; |