Fix BSD build.

This commit is contained in:
Robert Reif 2004-08-13 19:47:11 +00:00 committed by Alexandre Julliard
parent d244f6eb4f
commit 778168c316
1 changed files with 2 additions and 2 deletions

View File

@ -1124,13 +1124,13 @@ BOOL WINAPI GlobalMemoryStatusEx( LPMEMORYSTATUSEX lpmemex )
lpmemex->ullAvailPhys = *tmp;
lpmemex->ullTotalPageFile = *tmp;
lpmemex->ullAvailPageFile = *tmp;
lpmemex->ullMemoryLoad = lpmemex->ullTotalPhys - lpmemex->ullAvailPhys;
lpmemex->dwMemoryLoad = lpmemex->ullTotalPhys - lpmemex->ullAvailPhys;
} else
{
lpmemex->ullAvailPhys = lpmemex->ullTotalPhys;
lpmemex->ullTotalPageFile = lpmemex->ullTotalPhys;
lpmemex->ullAvailPageFile = lpmemex->ullTotalPhys;
lpmemex->ullMemoryLoad = 0;
lpmemex->dwMemoryLoad = 0;
}
free(tmp);