Fix build crash while using MSFT to build OVMF, also fix some build warning report for PCD type issues.
Signed-off-by: gikidy Reviewed-by: jcarsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12202 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -41,7 +41,7 @@ IsEntryPointStructureValid (
|
||||
Checksum = 0;
|
||||
|
||||
for (Index = 0; Index < Length; Index++) {
|
||||
Checksum += BytePtr[Index];
|
||||
Checksum = Checksum + (UINT8) BytePtr[Index];
|
||||
}
|
||||
|
||||
if (Checksum != 0) {
|
||||
|
Reference in New Issue
Block a user