mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-26 16:31:11 +00:00
Fix build on 64-bit Vista.
This commit is contained in:
parent
69376f61ca
commit
b5ac45434a
@ -361,7 +361,7 @@ int vm_get_write_watch(void * addr, size_t size,
|
||||
flags |= WRITE_WATCH_FLAG_RESET;
|
||||
|
||||
ULONG page_size;
|
||||
ULONG count = *n_pages;
|
||||
ULONG_PTR count = *n_pages;
|
||||
int ret_code = GetWriteWatch(flags, addr, size, pages, &count, &page_size);
|
||||
if (ret_code != 0)
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user