]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c
Fix compile break on IA32 arch.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UhciDxe / Uhci.c
index bc7cfb9c90f5a6b14e6f5ea1306dc5e5a9f4a293..61a8fb202388704f5786b5cae24c00d0d4147c8b 100644 (file)
@@ -1011,7 +1011,7 @@ Uhci2AsyncInterruptTransfer (
     return EFI_OUT_OF_RESOURCES;\r
   }\r
 \r
-  DataPhy = (UINT8 *)UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength);\r
+  DataPhy = (UINT8 *) (UINTN) UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength);\r
 \r
   OldTpl = gBS->RaiseTPL (UHCI_TPL);\r
 \r