MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c:111:31: error: comparison
of constant 256 with expression of type 'UINT8' (aka 'unsigned char')
is always true [-Werror,-Wtautological-constant-out-of-range-compare]
  ASSERT (IfDesc->ActiveIndex < USB_MAX_INTERFACE_SETTING);
          ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
MdePkg/Include/Library/DebugLib.h:265:15: note: expanded from macro 'ASSERT'
        if (!(Expression)) {        \
              ^
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c:329:19: error: comparison
of constant 256 with expression of type 'UINT8' (aka 'unsigned char')
is always true [-Werror,-Wtautological-constant-out-of-range-compare]
    ASSERT (Index < USB_MAX_INTERFACE_SETTING);
            ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
MdePkg/Include/Library/DebugLib.h:265:15: note: expanded from macro 'ASSERT'
        if (!(Expression)) {        \
              ^
2 errors generated.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to