mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fix compilation when ENABLE_VALIDATE_POOL is defined
svn path=/trunk/; revision=17657
This commit is contained in:
parent
c542593988
commit
2853a0678a
1 changed files with 3 additions and 3 deletions
|
@ -1049,8 +1049,8 @@ static void check_duplicates(HDR* blk)
|
|||
DbgPrint("intersecting blocks on list\n");
|
||||
KEBUGCHECK(/*KBUG_POOL_FREE_LIST_CORRUPT*/0);
|
||||
}
|
||||
if ( (ULONG_PTR)current < base &&
|
||||
((ULONG_PTR)current + current->hdr.Size) > base )
|
||||
if ( (ULONG_PTR)used < base &&
|
||||
((ULONG_PTR)used + used->hdr.Size) > base )
|
||||
{
|
||||
DbgPrint("intersecting blocks on list\n");
|
||||
KEBUGCHECK(/*KBUG_POOL_FREE_LIST_CORRUPT*/0);
|
||||
|
@ -1077,7 +1077,7 @@ static void validate_kernel_pool(void)
|
|||
p = avl_get_first(FreeBlockListRoot);
|
||||
while (p)
|
||||
{
|
||||
freet = CONTAINING_RECORD(p, HDR_FREE, Node);
|
||||
free = CONTAINING_RECORD(p, HDR_FREE, Node);
|
||||
check_duplicates(&free->hdr);
|
||||
p = avl_get_next(FreeBlockListRoot, p);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue