aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/usb_control.hpp2
-rw-r--r--host/include/uhd/transport/usb_zero_copy.hpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/host/include/uhd/transport/usb_control.hpp b/host/include/uhd/transport/usb_control.hpp
index f23ad5247..786bd0815 100644
--- a/host/include/uhd/transport/usb_control.hpp
+++ b/host/include/uhd/transport/usb_control.hpp
@@ -36,7 +36,7 @@ public:
* \param handle a device handle that uniquely identifies a USB device
* \param interface the USB interface number for the control transport
*/
- static sptr make(usb_device_handle::sptr handle, const size_t interface);
+ static sptr make(usb_device_handle::sptr handle, const int interface);
/*!
* Submit a USB device request:
diff --git a/host/include/uhd/transport/usb_zero_copy.hpp b/host/include/uhd/transport/usb_zero_copy.hpp
index ae1926e1b..eb28040b6 100644
--- a/host/include/uhd/transport/usb_zero_copy.hpp
+++ b/host/include/uhd/transport/usb_zero_copy.hpp
@@ -55,10 +55,10 @@ public:
*/
static sptr make(
usb_device_handle::sptr handle,
- const size_t recv_interface,
- const size_t recv_endpoint,
- const size_t send_interface,
- const size_t send_endpoint,
+ const int recv_interface,
+ const unsigned char recv_endpoint,
+ const int send_interface,
+ const unsigned char send_endpoint,
const device_addr_t &hints = device_addr_t()
);
};