mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
__readcr3() returns an unsigned __int64, fix x86 MmGetPageDirectory accordingly.
svn path=/branches/ros-amd64-bringup/; revision=35644
This commit is contained in:
@@ -95,7 +95,7 @@ MiFlushTlb(PULONG Pt, PVOID Address)
|
||||
PULONG
|
||||
MmGetPageDirectory(VOID)
|
||||
{
|
||||
return (PULONG)__readcr3();
|
||||
return (PULONG)(ULONG_PTR)__readcr3();
|
||||
}
|
||||
|
||||
static ULONG
|
||||
|
||||
Reference in New Issue
Block a user