[NTOS]: Erm, why is it that the ARM compiler detects this obvious bug, but x86 does...
authorSir Richard <sir_richard@svn.reactos.org>
Wed, 24 Nov 2010 14:39:23 +0000 (14:39 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Wed, 24 Nov 2010 14:39:23 +0000 (14:39 +0000)
svn path=/trunk/; revision=49770

reactos/ntoskrnl/mm/ARM3/mdlsup.c

index b3449a3..f956bb7 100644 (file)
@@ -271,7 +271,7 @@ MmFreePagesFromMdl(IN PMDL Mdl)
         //
         Pfn1->u3.e1.StartOfAllocation = 0;
         Pfn1->u3.e1.EndOfAllocation = 0;
-        Pfn1->u2.ShareCount == 0;
+        Pfn1->u2.ShareCount = 0;
         
         //
         // Dereference it