summaryrefslogtreecommitdiff
path: root/DuetPkg/Library/DuetBdsLib
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/DuetBdsLib
parent2fd3009fb25d79d53cc6ae6cdd872d78b41e4bc1 (diff)
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/DuetBdsLib')
-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 da0613017..ba9cbf5e2 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