summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/SmbiosPlatformDxe
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-17 23:30:34 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-17 23:30:34 +0000
commitfb11c13e5c5615554fcbf6b5a6226b989875c469 (patch)
tree69b5c76db88622c0cf038728ec3db3358df2650b /OvmfPkg/SmbiosPlatformDxe
parent61403bd7ce134c5c1ca0cba4091cff1534926bd2 (diff)
downloadedk2-fb11c13e5c5615554fcbf6b5a6226b989875c469.tar.gz
edk2-fb11c13e5c5615554fcbf6b5a6226b989875c469.tar.bz2
edk2-fb11c13e5c5615554fcbf6b5a6226b989875c469.zip
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
Diffstat (limited to 'OvmfPkg/SmbiosPlatformDxe')
-rw-r--r--OvmfPkg/SmbiosPlatformDxe/Xen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/SmbiosPlatformDxe/Xen.c b/OvmfPkg/SmbiosPlatformDxe/Xen.c
index 93b8f74366..6a5c3f8b28 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;