diff options
author | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-25 03:19:57 +0000 |
---|---|---|
committer | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-25 03:19:57 +0000 |
commit | 670a64e7b79568db83b4dfca06eda9ac52e15423 (patch) | |
tree | a878ddf625ca73c1e20416225be90b5b697f9032 /OvmfPkg/SmbiosPlatformDxe | |
parent | e0afa48970f79977eb8bd4a53ff02d2c81cf814c (diff) | |
download | edk2-670a64e7b79568db83b4dfca06eda9ac52e15423.tar.gz edk2-670a64e7b79568db83b4dfca06eda9ac52e15423.tar.bz2 edk2-670a64e7b79568db83b4dfca06eda9ac52e15423.zip |
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
Diffstat (limited to 'OvmfPkg/SmbiosPlatformDxe')
-rw-r--r-- | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c index dc84c3ac20..1cb28f01c7 100644 --- a/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c +++ b/OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c @@ -41,7 +41,7 @@ IsEntryPointStructureValid ( Checksum = 0;
for (Index = 0; Index < Length; Index++) {
- Checksum += BytePtr[Index];
+ Checksum = Checksum + (UINT8) BytePtr[Index];
}
if (Checksum != 0) {
|