Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2019 23:10:07 +0000 (UTC)
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351199 - head/usr.sbin/bluetooth/iwmbtfw
Message-ID:  <201908182310.x7INA7rq015906@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wulf
Date: Sun Aug 18 23:10:07 2019
New Revision: 351199
URL: https://svnweb.freebsd.org/changeset/base/351199

Log:
  iwmbtfw(8): Fix compilation on platforms using gcc.
  
  X-MFC with:	r351197

Modified:
  head/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c

Modified: head/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
==============================================================================
--- head/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c	Sun Aug 18 23:07:56 2019	(r351198)
+++ head/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c	Sun Aug 18 23:10:07 2019	(r351199)
@@ -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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908182310.x7INA7rq015906>