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/include/uhd/transport/usb_control.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/transport/usb_control.hpp b/host/include/uhd/transport/usb_control.hpp index c5d07bbd4..f23ad5247 100644 --- a/host/include/uhd/transport/usb_control.hpp +++ b/host/include/uhd/transport/usb_control.hpp @@ -62,7 +62,7 @@ public: boost::uint16_t index, unsigned char *buff, boost::uint16_t length, - boost::int32_t timeout = 0) = 0; + boost::uint32_t timeout = 0) = 0; }; }} //namespace -- cgit v1.2.3