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
This commit is contained in:
jljusten 2011-08-17 23:30:34 +00:00
parent 61403bd7ce
commit fb11c13e5c
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ GetXenSmbiosTables (
return NULL; return NULL;
} }
for (XenSmbiosPtr = (UINT8*) XEN_SMBIOS_PHYSICAL_ADDRESS; for (XenSmbiosPtr = (UINT8*)(UINTN) XEN_SMBIOS_PHYSICAL_ADDRESS;
XenSmbiosPtr < (UINT8*) XEN_SMBIOS_PHYSICAL_END; XenSmbiosPtr < (UINT8*)(UINTN) XEN_SMBIOS_PHYSICAL_END;
XenSmbiosPtr += 0x10) { XenSmbiosPtr += 0x10) {
XenSmbiosEntryPointStructure = (SMBIOS_TABLE_ENTRY_POINT *) XenSmbiosPtr; XenSmbiosEntryPointStructure = (SMBIOS_TABLE_ENTRY_POINT *) XenSmbiosPtr;