Fixed the check for the MEM_TOP_DOWN flag in MmMapViewOfSection.
Modified: trunk/reactos/ntoskrnl/mm/section.c

Modified: trunk/reactos/ntoskrnl/mm/section.c
--- trunk/reactos/ntoskrnl/mm/section.c	2005-10-30 13:54:02 UTC (rev 18881)
+++ trunk/reactos/ntoskrnl/mm/section.c	2005-10-30 13:55:28 UTC (rev 18882)
@@ -4520,7 +4520,7 @@
                                   *ViewSize,
                                   Protect,
                                   ViewOffset,
-                                  (AllocationType & MEM_TOP_DOWN));
+                                  (AllocationType & MEM_TOP_DOWN) == MEM_TOP_DOWN);
       MmUnlockSectionSegment(Section->Segment);
       if (!NT_SUCCESS(Status))
       {