From 6565f65ce17a1df1a782b39ff5a911dd4b69fac8 Mon Sep 17 00:00:00 2001 From: Vladimir Kondratyev Date: Sun, 18 Aug 2019 23:10:07 +0000 Subject: [PATCH] iwmbtfw(8): Fix compilation on platforms using gcc. X-MFC with: r351197 --- usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c b/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c index 0a4d1acd80fd..af48e038340f 100644 --- a/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c +++ b/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c @@ -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));