git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10292
6f19259b-4bc3-4df7-8a09-
765794883524
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
// Tell the Host Controller where the Frame List lies,\r
// by set the Frame List Base Address Register.\r
//\r
- UhciSetFrameListBaseAddr (Uhc->PciIo, (VOID *) MappedAddr);\r
+ UhciSetFrameListBaseAddr (Uhc->PciIo, (VOID *) (UINTN) MappedAddr);\r
\r
//\r
// Allocate the QH used by sync interrupt/control/bulk transfer.\r