mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
2fd3009fb2
commit
ea7beacbea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue