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