mirror of https://github.com/acidanthera/audk.git
MdeModule EhciDxe: Fix compiler warning for IA32 architecture.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9340 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
739802e49c
commit
ce422d36a8
|
@ -261,7 +261,7 @@ UsbHcGetPciAddressForHostMem (
|
||||||
// calculate the pci memory address for host memory address.
|
// calculate the pci memory address for host memory address.
|
||||||
//
|
//
|
||||||
Offset = (UINT8 *)Mem - Block->BufHost;
|
Offset = (UINT8 *)Mem - Block->BufHost;
|
||||||
PhyAddr = (EFI_PHYSICAL_ADDRESS)(Block->Buf + Offset);
|
PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset);
|
||||||
return PhyAddr;
|
return PhyAddr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue