Fix compile warning.
Approved by: re (delphij) MFC after: 1 week
This commit is contained in:
parent
5799c2bce7
commit
f357b4f65d
@ -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