1
0
forked from 0ad/0ad

Fixed issue in VerifyPages that was preventing me from compiling on Vista.

#Vista compile fix

This was SVN commit r6650.
This commit is contained in:
Travis Gorkin 2009-01-31 23:30:24 +00:00
parent 43ed26f985
commit 602e90096b

View File

@ -329,14 +329,14 @@ static bool VerifyPages(void* mem, size_t size, size_t pageSize, size_t node)
for(size_t i = 0; i < numPages; i++)
{
const PSAPI_WORKING_SET_EX_BLOCK& attributes = wsi[i].VirtualAttributes;
if(!attributes.valid)
if(!attributes.Valid)
return false;
if(attributes.LargePage != (pageSize == LargePageSize()))
if(attributes.LargePage != (pageSize == GetLargePageMinimum()))
{
debug_printf("NUMA: is not a large page\n");
return false;
}
if(attributes.node != node)
if(attributes.Node != node)
{
debug_printf("NUMA: allocated from remote node\n");
return false;