diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-06-01 17:55:00 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-06-01 17:55:00 +0000 |
commit | 75ccc2b2111a318d25aae6df9d17590f0c04e814 (patch) | |
tree | 6e0d4aeccba662bb044f35530b58ff4ce0331f3b /OvmfPkg/AcpiPlatformDxe | |
parent | 1fd376d979221e9765dbec215916f5a6ab92879f (diff) | |
download | edk2-75ccc2b2111a318d25aae6df9d17590f0c04e814.tar.gz edk2-75ccc2b2111a318d25aae6df9d17590f0c04e814.tar.bz2 edk2-75ccc2b2111a318d25aae6df9d17590f0c04e814.zip |
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
Diffstat (limited to 'OvmfPkg/AcpiPlatformDxe')
-rw-r--r-- | OvmfPkg/AcpiPlatformDxe/Qemu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/Qemu.c b/OvmfPkg/AcpiPlatformDxe/Qemu.c index e483856dca..f7736c2b71 100644 --- a/OvmfPkg/AcpiPlatformDxe/Qemu.c +++ b/OvmfPkg/AcpiPlatformDxe/Qemu.c @@ -82,13 +82,13 @@ QemuInstallAcpiMadtTable ( for (Loop = 1; Loop < Count; Loop++) {
LocalApic->Type = EFI_ACPI_1_0_PROCESSOR_LOCAL_APIC;
LocalApic->Length = sizeof (*LocalApic);
- LocalApic->AcpiProcessorId = Loop;
- LocalApic->ApicId = Loop;
+ LocalApic->AcpiProcessorId = (UINT8) Loop;
+ LocalApic->ApicId = (UINT8) Loop;
LocalApic->Flags = 1;
LocalApic++;
}
- Hdr->Length = NewBufferSize;
+ Hdr->Length = (UINT32) NewBufferSize;
Status = InstallAcpiTable (AcpiProtocol, Hdr, NewBufferSize, TableKey);
|