mirror of https://github.com/acidanthera/audk.git
Fix 32-bit bios build error.
Signed-off-by: li-elvin Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12071 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fbd770b631
commit
f93161b440
|
@ -933,7 +933,7 @@ SmbiosCreateTable (
|
|||
EntryPointStructure->MaxStructureSize = (UINT16) sizeof (EndStructure);
|
||||
}
|
||||
|
||||
if (EFI_SIZE_TO_PAGES (EntryPointStructure->TableLength) > PreAllocatedPages) {
|
||||
if ((UINTN) EFI_SIZE_TO_PAGES (EntryPointStructure->TableLength) > PreAllocatedPages) {
|
||||
//
|
||||
// If new SMBIOS talbe size exceeds the original pre-allocated page,
|
||||
// it is time to re-allocate memory (below 4GB).
|
||||
|
|
Loading…
Reference in New Issue