https://git.reactos.org/?p=reactos.git;a=commitdiff;h=24856b8de6abc6abb569d…
commit 24856b8de6abc6abb569d9cd3158e7eeac70fdb4
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Oct 8 14:13:47 2017 +0200
[NTOSKRNL] Add back parentheses that got removed in r75605
---
ntoskrnl/include/internal/mm.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/include/internal/mm.h b/ntoskrnl/include/internal/mm.h
index ade96213ed..694c51f1f0 100644
--- a/ntoskrnl/include/internal/mm.h
+++ b/ntoskrnl/include/internal/mm.h
@@ -200,8 +200,8 @@ typedef struct _ROS_SECTION_OBJECT
};
} ROS_SECTION_OBJECT, *PROS_SECTION_OBJECT;
-#define MA_GetStartingAddress(_MemoryArea) (_MemoryArea->VadNode.StartingVpn <<
PAGE_SHIFT)
-#define MA_GetEndingAddress(_MemoryArea) ((_MemoryArea->VadNode.EndingVpn + 1)
<< PAGE_SHIFT)
+#define MA_GetStartingAddress(_MemoryArea) ((_MemoryArea)->VadNode.StartingVpn
<< PAGE_SHIFT)
+#define MA_GetEndingAddress(_MemoryArea) (((_MemoryArea)->VadNode.EndingVpn + 1)
<< PAGE_SHIFT)
typedef struct _MEMORY_AREA
{