Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/usb.c

    rf4eb6c93 r05b59393  
    4444        [USB_SPEED_FULL] = "full",
    4545        [USB_SPEED_HIGH] = "high",
    46         [USB_SPEED_SUPER] = "super",
    4746};
    4847
     
    7473const char *usb_str_transfer_type(usb_transfer_type_t t)
    7574{
    76         if (t >= ARRAY_SIZE(str_transfer_type)) {
     75        if ((size_t)t >= ARRAY_SIZE(str_transfer_type)) {
    7776                return "invalid";
    7877        }
     
    8786const char *usb_str_transfer_type_short(usb_transfer_type_t t)
    8887{
    89         if (t >= ARRAY_SIZE(str_transfer_type_short)) {
     88        if ((size_t)t >= ARRAY_SIZE(str_transfer_type_short)) {
    9089                return "invl";
    9190        }
Note: See TracChangeset for help on using the changeset viewer.