From fb11c13e5c5615554fcbf6b5a6226b989875c469 Mon Sep 17 00:00:00 2001 From: jljusten Date: Wed, 17 Aug 2011 23:30:34 +0000 Subject: OvmfPkg/SmbiosPlatformDxe: Fix Visual Studio build issue Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12154 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/SmbiosPlatformDxe/Xen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OvmfPkg/SmbiosPlatformDxe') diff --git a/OvmfPkg/SmbiosPlatformDxe/Xen.c b/OvmfPkg/SmbiosPlatformDxe/Xen.c index 93b8f74..6a5c3f8 100644 --- a/OvmfPkg/SmbiosPlatformDxe/Xen.c +++ b/OvmfPkg/SmbiosPlatformDxe/Xen.c @@ -44,8 +44,8 @@ GetXenSmbiosTables ( return NULL; } - for (XenSmbiosPtr = (UINT8*) XEN_SMBIOS_PHYSICAL_ADDRESS; - XenSmbiosPtr < (UINT8*) XEN_SMBIOS_PHYSICAL_END; + for (XenSmbiosPtr = (UINT8*)(UINTN) XEN_SMBIOS_PHYSICAL_ADDRESS; + XenSmbiosPtr < (UINT8*)(UINTN) XEN_SMBIOS_PHYSICAL_END; XenSmbiosPtr += 0x10) { XenSmbiosEntryPointStructure = (SMBIOS_TABLE_ENTRY_POINT *) XenSmbiosPtr; -- cgit v1.1