mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
- Fix build.
svn path=/trunk/; revision=50767
This commit is contained in:
parent
9d4ba43f0b
commit
f333f561b4
1 changed files with 2 additions and 2 deletions
|
@ -419,7 +419,7 @@ RtlpDphWritePageHeapBlockInformation(PDPH_HEAP_ROOT DphRoot, PVOID UserAllocatio
|
|||
|
||||
/* Fill with a pattern */
|
||||
FillPtr = (PUCHAR)UserAllocation + Size;
|
||||
RtlFillMemory(FillPtr, ROUND_UP(FillPtr, PAGE_SIZE) - FillPtr, DPH_FILL_SUFFIX);
|
||||
RtlFillMemory(FillPtr, ROUND_UP(FillPtr, PAGE_SIZE) - (ULONG_PTR)FillPtr, DPH_FILL_SUFFIX);
|
||||
|
||||
/* FIXME: Check if logging stack traces is turned on */
|
||||
//if (DphRoot->ExtraFlags &
|
||||
|
@ -1216,7 +1216,7 @@ RtlpDphIsPageHeapBlock(PDPH_HEAP_ROOT DphRoot,
|
|||
End = (PUCHAR)ROUND_UP(Start, PAGE_SIZE);
|
||||
for (Byte = Start; Byte < End; Byte++)
|
||||
{
|
||||
if (*Byte != DPH_FILL_BLOCK_END)
|
||||
if (*Byte != DPH_FILL_SUFFIX)
|
||||
{
|
||||
*ValidationInformation |= DPH_VALINFO_BAD_SUFFIX_PATTERN;
|
||||
SomethingWrong = TRUE;
|
||||
|
|
Loading…
Reference in a new issue