mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
iwmbtfw(8): Fix compilation on platforms using gcc.
X-MFC with: r351197
This commit is contained in:
parent
3e5e1b5135
commit
6565f65ce1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351199
@ -68,7 +68,7 @@ iwmbt_send_fragment(struct libusb_device_handle *hdl,
|
|||||||
&transferred,
|
&transferred,
|
||||||
timeout);
|
timeout);
|
||||||
|
|
||||||
if (ret < 0 || transferred != IWMBT_HCI_CMD_SIZE(cmd)) {
|
if (ret < 0 || transferred != (int)IWMBT_HCI_CMD_SIZE(cmd)) {
|
||||||
iwmbt_err("libusb_bulk_transfer() failed: err=%s, size=%zu",
|
iwmbt_err("libusb_bulk_transfer() failed: err=%s, size=%zu",
|
||||||
libusb_strerror(ret),
|
libusb_strerror(ret),
|
||||||
IWMBT_HCI_CMD_SIZE(cmd));
|
IWMBT_HCI_CMD_SIZE(cmd));
|
||||||
|
Loading…
Reference in New Issue
Block a user