summaryrefslogtreecommitdiff
path: root/DuetPkg/Library
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-26 17:59:34 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-26 17:59:34 +0000
commite188a609341e9cdb5e6de6bf80b870e42b8a4ddc (patch)
treea137e1e7978a523a3dd20c6115e2ccf6e6457261 /DuetPkg/Library
parent35d297c7acce7d72863c22ddae95eb39827f3cd3 (diff)
downloadedk2-platforms-e188a609341e9cdb5e6de6bf80b870e42b8a4ddc.tar.xz
Fix bundle of issue for ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6740 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/Library')
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index bb8c9bc563..5dfa016bbd 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -217,7 +217,7 @@ UpdateMemoryMap (
Memory = MemoryDescHob.MemDesc[Index].PhysicalStart;
Status = gBS->AllocatePages (
AllocateAddress,
- MemoryDescHob.MemDesc[Index].Type,
+ (EFI_MEMORY_TYPE)MemoryDescHob.MemDesc[Index].Type,
(UINTN)MemoryDescHob.MemDesc[Index].NumberOfPages,
&Memory
);
@@ -1491,7 +1491,7 @@ Returns:
Length--;
}
- return ((0xFF - CheckSum) + 1);
+ return (UINT8)((0xFF - CheckSum) + 1);
}
EFI_STATUS