X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FLibrary%2FLegacyBootManagerLib%2FLegacyBm.c;fp=IntelFrameworkModulePkg%2FLibrary%2FLegacyBootManagerLib%2FLegacyBm.c;h=080a436c717316e8b5cfdf2f0fca03aea17b087a;hp=c56a8786391a3a91a0fbc55ccc39fcc858f9c0fa;hb=4ff5fd203cf0eee0b21b6c2296f6f6ed98776f37;hpb=6e4489d8129d233ef0fe85eeb6eebfecafe9ea6e diff --git a/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBm.c b/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBm.c index c56a878639..080a436c71 100644 --- a/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBm.c +++ b/IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBm.c @@ -3,7 +3,7 @@ and manage the legacy boot option, all legacy boot option is getting from the legacy BBS table. -Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -725,7 +725,7 @@ LegacyBmCreateDevOrder ( DevOrderPtr->Length = (UINT16) (sizeof (UINT16) + BEVCount * sizeof (UINT16)); DevOrderPtr = (LEGACY_DEV_ORDER_ENTRY *) LegacyBmFillDevOrderBuf (BbsTable, BBS_BEV_DEVICE, BbsCount, DevOrderPtr->Data); - ASSERT (TotalSize == (UINTN) ((UINT8 *) DevOrderPtr - (UINT8 *) DevOrder)); + ASSERT (TotalSize == ((UINTN) DevOrderPtr - (UINTN) DevOrder)); // // Save device order for legacy boot device to variable.