Author: greatlrd
Date: Thu Mar 6 00:08:51 2008
New Revision: 32576
URL:
http://svn.reactos.org/svn/reactos?rev=3D32576&view=3Drev
Log:
sorry again
Never comited when u are ZzZ
Modified:
trunk/reactos/ntoskrnl/mm/virtual.c
Modified: trunk/reactos/ntoskrnl/mm/virtual.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/virtual.c=
?rev=3D32576&r1=3D32575&r2=3D32576&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/ntoskrnl/mm/virtual.c (original)
+++ trunk/reactos/ntoskrnl/mm/virtual.c Thu Mar 6 00:08:51 2008
@@ -963,8 +963,8 @@
ULONG Mode)
{
=
- if ( ( (PBYTE)Address + Length > (PBYTE)MmHighestUserAddress) || =
- ( (PBYTE)Address + Length <=3D (PBYTE)Address ) )
+ if ( ( (DWORD)Address + Length > (DWORD)MmHighestUserAddress) || =
+ ( (DWORD)Address + Length <=3D (DWORD)Address ) )
/* Only works for user space */
if (MmHighestUserAddress < Address)
{