diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-14 20:47:57 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-10-14 20:47:57 +0000 |
commit | ce422d36a889710183a38cb69408f36d175d8c0c (patch) | |
tree | e2aeffb1f305cf9969883b46376c44466000e136 /MdeModulePkg/Bus/Pci/EhciDxe | |
parent | 739802e49c6ae401534d3ed3d743cb2d82ff8c62 (diff) | |
download | edk2-ce422d36a889710183a38cb69408f36d175d8c0c.zip edk2-ce422d36a889710183a38cb69408f36d175d8c0c.tar.gz edk2-ce422d36a889710183a38cb69408f36d175d8c0c.tar.bz2 |
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
Diffstat (limited to 'MdeModulePkg/Bus/Pci/EhciDxe')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c index 177c49f..069ee5f 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/UsbHcMem.c @@ -261,7 +261,7 @@ UsbHcGetPciAddressForHostMem ( // calculate the pci memory address for host memory address.
//
Offset = (UINT8 *)Mem - Block->BufHost;
- PhyAddr = (EFI_PHYSICAL_ADDRESS)(Block->Buf + Offset);
+ PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset);
return PhyAddr;
}
|