diff options
Diffstat (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c')
-rw-r--r-- | DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c index fbfc2fadef..d479e7f9fc 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c @@ -102,7 +102,7 @@ PcatRootBridgeIoPciRW ( UINT64 PciExpressRegAddr;
BOOLEAN UsePciExpressAccess;
- if (Width < 0 || Width >= EfiPciWidthMaximum) {
+ if ((UINT32)Width >= EfiPciWidthMaximum) {
return EFI_INVALID_PARAMETER;
}
|