summaryrefslogtreecommitdiff
path: root/DuetPkg/Library
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-24 19:12:35 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-24 19:12:35 +0000
commitea7beacbea05481e80306cc9ee496fc429e62a39 (patch)
treeb3cf7adeede5bf7b0bb68e2b614bb0b905093be5 /DuetPkg/Library
parent2fd3009fb25d79d53cc6ae6cdd872d78b41e4bc1 (diff)
downloadedk2-platforms-ea7beacbea05481e80306cc9ee496fc429e62a39.tar.xz
Fix build warning of implicitly pointer casting
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8651 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 da0613017f..ba9cbf5e2a 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -1695,10 +1695,10 @@ Returns:
MpsTableNew->OemTablePointer = (UINT32)(UINTN)OemTableNew;
}
MpsTableNew->Checksum = 0;
- MpsTableNew->Checksum = CalculateCheckSum8 (MpsTableNew, MpsTableOri->BaseTableLength);
+ MpsTableNew->Checksum = CalculateCheckSum8 ((UINT8*)MpsTableNew, MpsTableOri->BaseTableLength);
MpsFloatingPointerNew->PhysicalAddress = (UINT32)(UINTN)MpsTableNew;
MpsFloatingPointerNew->Checksum = 0;
- MpsFloatingPointerNew->Checksum = CalculateCheckSum8 (MpsFloatingPointerNew, FPLength);
+ MpsFloatingPointerNew->Checksum = CalculateCheckSum8 ((UINT8*)MpsFloatingPointerNew, FPLength);
}
//
// Change the pointer