From 9498ada7a2de5bd37fe22d30dbade7bc4e488dcb Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 29 Sep 2007 16:02:02 +0200 Subject: [PATCH] kernel32: Fix types for the FreeBSD implementation of GlobalMemoryStatusEx(). --- dlls/kernel32/heap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c index 9375a2ef8a8..c3598aff2e1 100644 --- a/dlls/kernel32/heap.c +++ b/dlls/kernel32/heap.c @@ -1206,7 +1206,8 @@ BOOL WINAPI GlobalMemoryStatusEx( LPMEMORYSTATUSEX lpmemex ) 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];