iwmbtfw(8): Fix compilation on platforms using gcc.

X-MFC with:	r351197
This commit is contained in:
Vladimir Kondratyev 2019-08-18 23:10:07 +00:00
parent 3e5e1b5135
commit 6565f65ce1

View File

@ -68,7 +68,7 @@ iwmbt_send_fragment(struct libusb_device_handle *hdl,
&transferred,
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",
libusb_strerror(ret),
IWMBT_HCI_CMD_SIZE(cmd));