]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModule EhciDxe: Fix compiler warning for IA32 architecture.
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 14 Oct 2009 20:47:57 +0000 (20:47 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 14 Oct 2009 20:47:57 +0000 (20:47 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9340 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c

index 177c49f1e4070f0cbcf481c0e4d8b048cd8f9abe..069ee5f57552901bc0e95fb17fb8118e1826aa72 100644 (file)
@@ -261,7 +261,7 @@ UsbHcGetPciAddressForHostMem (
   // calculate the pci memory address for host memory address.\r
   //\r
   Offset = (UINT8 *)Mem - Block->BufHost;\r
-  PhyAddr = (EFI_PHYSICAL_ADDRESS)(Block->Buf + Offset);\r
+  PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset);\r
   return PhyAddr;\r
 }\r
 \r