Skip to content

Commit

Permalink
Fixed type conversion issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
prsyahmi committed Jul 15, 2016
1 parent bffdea4 commit 0ff3e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badmemory/badmemory.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ DriverEntry(
Boundary.QuadPart = 0;

PVOID BadAddr = MmAllocateContiguousMemorySpecifyCache(
UpperBound.QuadPart - LowerBound.QuadPart,
(SIZE_T)(UpperBound.QuadPart - LowerBound.QuadPart),
LowerBound,
UpperBound,
Boundary,
Expand Down

0 comments on commit 0ff3e58

Please sign in to comment.