Fix types for the FreeBSD implementation of GlobalMemoryStatusEx().
Gerald Pfeifer
gerald at pfeifer.com
Sat Sep 29 09:02:02 CDT 2007
Tested on FreeBSD 6.2, the only system affected apart from NetBSD which
I could not test, but which should be the same.
And that's it for today, I think, in terms of patches. ;-)
Gerald
ChangeLog:
Fix types for the FreeBSD implementation of GlobalMemoryStatusEx().
Index: dlls/kernel32/heap.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel32/heap.c,v
retrieving revision 1.18
diff -u -3 -p -r1.18 heap.c
--- dlls/kernel32/heap.c 20 Sep 2007 15:31:09 -0000 1.18
+++ dlls/kernel32/heap.c 29 Sep 2007 13:59:17 -0000
@@ -1206,7 +1206,8 @@ BOOL WINAPI GlobalMemoryStatusEx( LPMEMO
FILE *f;
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
unsigned long val;
- int size_sys, mib[2];
+ int mib[2];
+ size_t size_sys;
#elif defined(__APPLE__)
unsigned int val;
int mib[2];
More information about the wine-patches
mailing list