Changes in uspace/lib/usb/src/usb.c [05b59393:f4eb6c93] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/usb.c
r05b59393 rf4eb6c93 44 44 [USB_SPEED_FULL] = "full", 45 45 [USB_SPEED_HIGH] = "high", 46 [USB_SPEED_SUPER] = "super", 46 47 }; 47 48 … … 73 74 const char *usb_str_transfer_type(usb_transfer_type_t t) 74 75 { 75 if ( (size_t)t >= ARRAY_SIZE(str_transfer_type)) {76 if (t >= ARRAY_SIZE(str_transfer_type)) { 76 77 return "invalid"; 77 78 } … … 86 87 const char *usb_str_transfer_type_short(usb_transfer_type_t t) 87 88 { 88 if ( (size_t)t >= ARRAY_SIZE(str_transfer_type_short)) {89 if (t >= ARRAY_SIZE(str_transfer_type_short)) { 89 90 return "invl"; 90 91 }
Note:
See TracChangeset
for help on using the changeset viewer.