Ken Thomases : kernel32: Fix build on newer Mac OS X.
Alexandre Julliard
julliard at winehq.org
Thu Feb 20 10:08:10 CST 2014
Module: wine
Branch: master
Commit: ed11dc0ba3cc3f9f85e1096be0cfe9edfa4a5ec3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed11dc0ba3cc3f9f85e1096be0cfe9edfa4a5ec3
Author: Ken Thomases <ken at codeweavers.com>
Date: Wed Feb 19 16:12:11 2014 -0600
kernel32: Fix build on newer Mac OS X.
---
dlls/kernel32/heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c
index 8b38119..db1b401 100644
--- a/dlls/kernel32/heap.c
+++ b/dlls/kernel32/heap.c
@@ -1251,7 +1251,7 @@ BOOL WINAPI GlobalMemoryStatusEx( LPMEMORYSTATUSEX lpmemex )
count = HOST_VM_INFO64_COUNT;
if (host_statistics64(host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count) == KERN_SUCCESS &&
- host_page_size(host, &page_size == KERN_SUCCESS))
+ host_page_size(host, &page_size) == KERN_SUCCESS)
lpmemex->ullAvailPhys = (vm_stat.free_count + vm_stat.inactive_count) * (DWORDLONG)page_size;
#endif
if (!total)
More information about the wine-cvs
mailing list