Author: tkreuzer
Date: Mon Aug 25 16:24:18 2008
New Revision: 35644
URL:
http://svn.reactos.org/svn/reactos?rev=35644&view=rev
Log:
__readcr3() returns an unsigned __int64, fix x86 MmGetPageDirectory accordingly.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/i386/page.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/i386/page.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] Mon Aug 25
16:24:18 2008
@@ -95,7 +95,7 @@
PULONG
MmGetPageDirectory(VOID)
{
- return (PULONG)__readcr3();
+ return (PULONG)(ULONG_PTR)__readcr3();
}
static ULONG