From ef249a8ed92431778642eda5aa65397865b7cae3 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Fri, 24 Jun 2016 16:47:54 -0400 Subject: usb: fix 'timeout' variables to be unsigned since that is what the 'libusb_control_transfer' API uses. --- host/lib/transport/libusb1_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/transport') diff --git a/host/lib/transport/libusb1_control.cpp b/host/lib/transport/libusb1_control.cpp index 1e6cc8cd3..dfe787726 100644 --- a/host/lib/transport/libusb1_control.cpp +++ b/host/lib/transport/libusb1_control.cpp @@ -42,7 +42,7 @@ public: boost::uint16_t index, unsigned char *buff, boost::uint16_t length, - boost::int32_t libusb_timeout = 0 + boost::uint32_t libusb_timeout = 0 ){ boost::mutex::scoped_lock lock(_mutex); return libusb_control_transfer(_handle->get(), -- cgit v1.2.3