diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-02-16 14:01:53 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-02-17 16:59:50 +0800 |
commit | eb470e05a3c7c251cfa50863ea119ba70e9777a3 (patch) | |
tree | e86f73191c3bf65b7420df2edfa0ebaddc8783ea /MdePkg/License.txt | |
parent | 958163561e9b6d8fa40ea4aac49d46cc889015ac (diff) | |
download | edk2-platforms-eb470e05a3c7c251cfa50863ea119ba70e9777a3.tar.xz |
MdeModulePkg/PciBusDxe: Fix IA32 build failure
Compiler calculates the PciBar[BarIndex] using
sizeof (PciBar[0]) * BarIndex, when BarIndex is type of UINT64,
the above calculation generates assembly code using _allmul.
Change BarIndex to UINTN to avoid the build failure.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Diffstat (limited to 'MdePkg/License.txt')
0 files changed, 0 insertions, 0 deletions