diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-27 04:37:39 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-27 04:37:39 +0000 |
commit | 9c83c97ac2fc79dcb97f14e708c9a9de6984846b (patch) | |
tree | 1f5af4374a54e45ad8e3548c826f6b346685fae1 /DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c | |
parent | e24d48ac467af09fb112e6ae405c4f47e3c5d024 (diff) | |
download | edk2-platforms-9c83c97ac2fc79dcb97f14e708c9a9de6984846b.tar.xz |
Fix ICC building issue for DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6749 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c')
-rw-r--r-- | DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c index 8525b4b94e..67a46b9759 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c @@ -137,7 +137,7 @@ Returns: return EFI_INVALID_PARAMETER;
}
if (Width >= MMIO_COPY_UINT8) {
- Width = Width - MMIO_COPY_UINT8;
+ Width = (EFI_IO_WIDTH) (Width - MMIO_COPY_UINT8);
Status = Private->PciRootBridgeIo->CopyMem (
Private->PciRootBridgeIo,
(EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width,
@@ -201,7 +201,7 @@ Returns: return EFI_INVALID_PARAMETER;
}
if (Width >= MMIO_COPY_UINT8) {
- Width = Width - MMIO_COPY_UINT8;
+ Width = (EFI_IO_WIDTH) (Width - MMIO_COPY_UINT8);
Status = Private->PciRootBridgeIo->CopyMem (
Private->PciRootBridgeIo,
(EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width,
|