mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcDeviceMiscLib: Fix MSVC warning
This commit is contained in:
parent
08c0020eb3
commit
5b42335e5c
@ -217,7 +217,7 @@ SetResizableBarOnDevice (
|
||||
// If requested BAR size is too low, choose the lowest available BAR size.
|
||||
//
|
||||
if (NewCapabilities == 0
|
||||
&& Entries[Index].ResizableBarControl.Bits.BarSize > Size) {
|
||||
&& Entries[Index].ResizableBarControl.Bits.BarSize > (UINT32) Size) {
|
||||
Bit = LowBitSet64 (Capabilities);
|
||||
} else {
|
||||
Bit = HighBitSet64 (NewCapabilities);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user