X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FUhciDxe%2FUhci.c;h=61a8fb202388704f5786b5cae24c00d0d4147c8b;hp=bc7cfb9c90f5a6b14e6f5ea1306dc5e5a9f4a293;hb=6691cae97ef6d23617a32f4c9fec60f6312ec959;hpb=4431fdc802287a98d05ca862bb3c555a7faff7a6 diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c index bc7cfb9c90..61a8fb2023 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c @@ -1011,7 +1011,7 @@ Uhci2AsyncInterruptTransfer ( return EFI_OUT_OF_RESOURCES; } - DataPhy = (UINT8 *)UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength); + DataPhy = (UINT8 *) (UINTN) UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength); OldTpl = gBS->RaiseTPL (UHCI_TPL);