OvmfPkg/AcpiPlatformDxe: Fix VS2010 build issue

Reported-by: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13425 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2012-06-01 17:55:00 +00:00
parent 1fd376d979
commit 75ccc2b211
1 changed files with 3 additions and 3 deletions

View File

@ -82,13 +82,13 @@ QemuInstallAcpiMadtTable (
for (Loop = 1; Loop < Count; Loop++) { for (Loop = 1; Loop < Count; Loop++) {
LocalApic->Type = EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC; LocalApic->Type = EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC;
LocalApic->Length = sizeof (*LocalApic); LocalApic->Length = sizeof (*LocalApic);
LocalApic->AcpiProcessorId = Loop; LocalApic->AcpiProcessorId = (UINT8) Loop;
LocalApic->ApicId = Loop; LocalApic->ApicId = (UINT8) Loop;
LocalApic->Flags = 1; LocalApic->Flags = 1;
LocalApic++; LocalApic++;
} }
Hdr->Length = NewBufferSize; Hdr->Length = (UINT32) NewBufferSize;
Status = InstallAcpiTable (AcpiProtocol, Hdr, NewBufferSize, TableKey); Status = InstallAcpiTable (AcpiProtocol, Hdr, NewBufferSize, TableKey);