Sync to trunk head (r42241)
[reactos.git] / reactos / ntoskrnl / ke / freeldr.c
index f1e716f..d135743 100644 (file)
@@ -312,7 +312,7 @@ KiRosConfigureArcDescriptor(IN ULONG PageBegin,
         }
 
         /* Check if the block matches us, and we haven't tried combining yet */
-        if ((BlockType == MemoryType) && !(Combined))
+        if (((TYPE_OF_MEMORY)BlockType == MemoryType) && !(Combined))
         {
             /* Check if it starts where we end */
             if (BlockBegin == PageEnd)