diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-06-13 01:33:02 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-06-13 01:33:02 +0000 |
commit | 92b2a48e222e331a7680b1fa0689c8ba78ac47fd (patch) | |
tree | 5c0d12c811abd98aa0256dc1c5bf557a592a38bb /lib/libusb | |
parent | 7a215a20fc05b86e1894a98263f5fc71dbc9e300 (diff) | |
download | FreeBSD-src-92b2a48e222e331a7680b1fa0689c8ba78ac47fd.zip FreeBSD-src-92b2a48e222e331a7680b1fa0689c8ba78ac47fd.tar.gz |
Fix compile warning.
Approved by: re (delphij)
MFC after: 1 week
Diffstat (limited to 'lib/libusb')
-rw-r--r-- | lib/libusb/libusb10_desc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libusb/libusb10_desc.c b/lib/libusb/libusb10_desc.c index d2f3f53..1fabc8e 100644 --- a/lib/libusb/libusb10_desc.c +++ b/lib/libusb/libusb10_desc.c @@ -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); } |