Changeset 95c675b in mainline for uspace/lib/usb/src/usb.c
- Timestamp:
- 2017-10-17T13:11:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/usb.c
rdbf32b1 r95c675b 74 74 const char *usb_str_transfer_type(usb_transfer_type_t t) 75 75 { 76 if ( t >= ARRAY_SIZE(str_transfer_type)) {76 if ((size_t)t >= ARRAY_SIZE(str_transfer_type)) { 77 77 return "invalid"; 78 78 } … … 87 87 const char *usb_str_transfer_type_short(usb_transfer_type_t t) 88 88 { 89 if ( t >= ARRAY_SIZE(str_transfer_type_short)) {89 if ((size_t)t >= ARRAY_SIZE(str_transfer_type_short)) { 90 90 return "invl"; 91 91 }
Note:
See TracChangeset
for help on using the changeset viewer.