From b1de4fb73764f38d5d13a0a9330e8a338a02f434 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 4 Feb 2017 17:00:26 +0000 Subject: [PATCH] [BOOTLIB] - Fix operator precedence in call to MmMdAddDescriptorToList. CID 1341191. svn path=/trunk/; revision=73675 --- reactos/boot/environ/lib/firmware/efi/firmware.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/boot/environ/lib/firmware/efi/firmware.c b/reactos/boot/environ/lib/firmware/efi/firmware.c index 06d0c42e2e0..04d59d5b78b 100644 --- a/reactos/boot/environ/lib/firmware/efi/firmware.c +++ b/reactos/boot/environ/lib/firmware/efi/firmware.c @@ -1680,8 +1680,8 @@ MmFwGetMemoryMap ( Status = MmMdAddDescriptorToList(MemoryMap, Descriptor, BL_MM_ADD_DESCRIPTOR_TRUNCATE_FLAG | - (Flags & BL_MM_FLAG_REQUEST_COALESCING) ? - BL_MM_ADD_DESCRIPTOR_COALESCE_FLAG : 0); + ((Flags & BL_MM_FLAG_REQUEST_COALESCING) ? + BL_MM_ADD_DESCRIPTOR_COALESCE_FLAG : 0)); if (!NT_SUCCESS(Status)) { EfiPrintf(L"Failed to add full descriptor: %lx\r\n", Status);