Ignore:
File:
1 edited

Legend:

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

    r05b59393 rf4eb6c93  
    4444        [USB_SPEED_FULL] = "full",
    4545        [USB_SPEED_HIGH] = "high",
     46        [USB_SPEED_SUPER] = "super",
    4647};
    4748
     
    7374const char *usb_str_transfer_type(usb_transfer_type_t t)
    7475{
    75         if ((size_t)t >= ARRAY_SIZE(str_transfer_type)) {
     76        if (t >= ARRAY_SIZE(str_transfer_type)) {
    7677                return "invalid";
    7778        }
     
    8687const char *usb_str_transfer_type_short(usb_transfer_type_t t)
    8788{
    88         if ((size_t)t >= ARRAY_SIZE(str_transfer_type_short)) {
     89        if (t >= ARRAY_SIZE(str_transfer_type_short)) {
    8990                return "invl";
    9091        }
Note: See TracChangeset for help on using the changeset viewer.