Changeset 05b59393 in mainline for uspace/lib/usb/src/usb.c
- Timestamp:
- 2017-10-04T18:02:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c9e88da
- Parents:
- 0b2d369
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/usb.c
r0b2d369 r05b59393 73 73 const char *usb_str_transfer_type(usb_transfer_type_t t) 74 74 { 75 if ( t >= ARRAY_SIZE(str_transfer_type)) {75 if ((size_t)t >= ARRAY_SIZE(str_transfer_type)) { 76 76 return "invalid"; 77 77 } … … 86 86 const char *usb_str_transfer_type_short(usb_transfer_type_t t) 87 87 { 88 if ( t >= ARRAY_SIZE(str_transfer_type_short)) {88 if ((size_t)t >= ARRAY_SIZE(str_transfer_type_short)) { 89 89 return "invl"; 90 90 }
Note:
See TracChangeset
for help on using the changeset viewer.