summaryrefslogtreecommitdiff
path: root/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-23 23:55:02 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-23 23:55:02 +0000
commit8e53d24672edba2361b05e6e9046358b199f10b5 (patch)
tree2d8818aea4c49d73d74680256ebf09c33a9d5aed /DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c
parentd4f59c13fb89ef9d679be640ff3c6b19393829b0 (diff)
downloadedk2-platforms-8e53d24672edba2361b05e6e9046358b199f10b5.tar.xz
Resolved several warnings generated by GCC.
In PcatPciRootBridge.c -> GetPciExpressBaseAddressForRootBridge, fixed a hang condition if the PCI Express Base Address HOB is not present. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6684 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c')
-rw-r--r--DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c
index 286c03ef4c..8525b4b94e 100644
--- a/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c
+++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/DeviceIo.c
@@ -1,6 +1,6 @@
/*++
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -141,7 +141,7 @@ Returns:
Status = Private->PciRootBridgeIo->CopyMem (
Private->PciRootBridgeIo,
(EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width,
- (UINT64) Buffer,
+ (UINT64)(UINTN) Buffer,
Address,
Count
);
@@ -206,7 +206,7 @@ Returns:
Private->PciRootBridgeIo,
(EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_WIDTH) Width,
Address,
- (UINT64) Buffer,
+ (UINT64)(UINTN) Buffer,
Count
);
} else {