diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2014-09-25 02:29:00 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-25 02:29:00 +0000 |
commit | ce88384500b3fb82c324ebf8553bfc55aedb3bc2 (patch) | |
tree | c8521312e5df94fa48642303b2f06bc9d7ffab1d /OvmfPkg/AcpiPlatformDxe | |
parent | e0ba625fc641314438a9a46079b52a4a30d8679e (diff) | |
download | edk2-ce88384500b3fb82c324ebf8553bfc55aedb3bc2.tar.gz edk2-ce88384500b3fb82c324ebf8553bfc55aedb3bc2.tar.bz2 edk2-ce88384500b3fb82c324ebf8553bfc55aedb3bc2.zip |
OvmfPkg/AcpiPlatformDxe: Fix VS2012 IA32 build warning
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16170 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/AcpiPlatformDxe')
-rw-r--r-- | OvmfPkg/AcpiPlatformDxe/Qemu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/Qemu.c b/OvmfPkg/AcpiPlatformDxe/Qemu.c index 95512d1731..59152487b8 100644 --- a/OvmfPkg/AcpiPlatformDxe/Qemu.c +++ b/OvmfPkg/AcpiPlatformDxe/Qemu.c @@ -1,7 +1,7 @@ /** @file
OVMF ACPI QEMU support
- Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (C) 2012-2014, Red Hat, Inc.
@@ -943,7 +943,7 @@ Process2ndPassCmdAddPointer ( Blob2Remaining += Blob2->Size;
ASSERT (PointerValue < Blob2Remaining);
- Blob2Remaining -= PointerValue;
+ Blob2Remaining -= (UINTN) PointerValue;
DEBUG ((EFI_D_VERBOSE, "%a: checking for ACPI header in \"%a\" at 0x%Lx "
"(remaining: 0x%Lx): ", __FUNCTION__, AddPointer->PointeeFile,
PointerValue, (UINT64)Blob2Remaining));
|