Author: tkreuzer
Date: Sat Nov 14 15:45:30 2009
New Revision: 44155
URL:
http://svn.reactos.org/svn/reactos?rev=44155&view=rev
Log:
Pass pointers to MiAddressToPte instead of integer
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mmfault.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mmfault.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mmfault.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/mm/mmfault.c [iso-8859-1] Sat Nov 14
15:45:30 2009
@@ -231,7 +231,7 @@
break;
case MEMORY_AREA_SHARED_DATA:
- *MiAddressToPte(USER_SHARED_DATA) = *MmSharedUserDataPte;
+ *MiAddressToPte((PVOID)USER_SHARED_DATA) = *MmSharedUserDataPte;
Status = STATUS_SUCCESS;
break;