Fix compile warning.
Approved by: re (delphij) MFC after: 1 week
This commit is contained in:
parent
5799c2bce7
commit
f357b4f65d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301846
@ -332,7 +332,7 @@ libusb_get_string_descriptor_ascii(libusb_device_handle *pdev,
|
||||
|
||||
if (libusb20_dev_req_string_simple_sync(pdev, desc_index,
|
||||
data, length) == 0)
|
||||
return (strlen(data));
|
||||
return (strlen((char *)data));
|
||||
|
||||
return (LIBUSB_ERROR_OTHER);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user