diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-01-26 05:49:18 +0000 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-02-23 13:32:58 +0800 |
commit | a786b267c7937ba8988b5d26fbc573d29f55595a (patch) | |
tree | cd2321c510a8b072610e347278b364c8eecf5a3f | |
parent | d5ad92456367d34026246d02648c36e2f4808cf4 (diff) | |
download | edk2-platforms-a786b267c7937ba8988b5d26fbc573d29f55595a.tar.xz |
MdeModulePkg/PciHostBridgeDxe: Fix GCC build failure.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19744 6f19259b-4bc3-4df7-8a09-765794883524
(cherry picked from commit ccf660168eac4ca250d2a22cb9a4af504e2cef74)
-rw-r--r-- | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c index 79b1da2d7e..6a9294d349 100644 --- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c @@ -17,7 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "PciRootBridge.h"
#include "PciHostResource.h"
-#define NO_MAPPING (VOID *) -1
+#define NO_MAPPING (VOID *) (UINTN) -1
//
// Lookup table for increment values based on transfer widths
|