aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_base.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-23 18:07:31 -0700
committerJosh Blum <josh@joshknows.com>2010-09-23 18:07:31 -0700
commitf97c4338458a965502d73903983ae5a3ceeebd53 (patch)
tree7f0434c764749868ef24e347bde6e9b7238434fc /host/lib/transport/libusb1_base.cpp
parent1826421cd428f795b4b8cd0acdad4fea92262f72 (diff)
downloaduhd-f97c4338458a965502d73903983ae5a3ceeebd53.tar.gz
uhd-f97c4338458a965502d73903983ae5a3ceeebd53.tar.bz2
uhd-f97c4338458a965502d73903983ae5a3ceeebd53.zip
usrp1: fixes to remove warnings and errors for usrp1 + libusb windows
Diffstat (limited to 'host/lib/transport/libusb1_base.cpp')
-rw-r--r--host/lib/transport/libusb1_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/libusb1_base.cpp b/host/lib/transport/libusb1_base.cpp
index e21c39aa3..1f816c6e2 100644
--- a/host/lib/transport/libusb1_base.cpp
+++ b/host/lib/transport/libusb1_base.cpp
@@ -67,7 +67,7 @@ bool libusb::compare_device(libusb_device *dev,
std::string serial = handle->get_serial();
boost::uint16_t vendor_id = handle->get_vendor_id();
boost::uint16_t product_id = handle->get_product_id();
- boost::uint8_t device_addr = handle->get_device_addr();
+ boost::uint16_t device_addr = handle->get_device_addr();
libusb_device_descriptor libusb_desc;
if (libusb_get_device_descriptor(dev, &libusb_desc) < 0)