aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_base.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-09-23 18:56:15 -0700
committerJosh Blum <josh@joshknows.com>2010-09-23 18:56:15 -0700
commit5d6d25b49cc783ef012410064bc9eb0e66e50227 (patch)
treecde46dbfc84917477d93d07440f59d7537b57e71 /host/lib/transport/libusb1_base.cpp
parent5fc96b27b9493506bd7ad60eb37f98f651de6545 (diff)
parent188162a4dd59b47cf95d4be82e510faf9675a55d (diff)
downloaduhd-5d6d25b49cc783ef012410064bc9eb0e66e50227.tar.gz
uhd-5d6d25b49cc783ef012410064bc9eb0e66e50227.tar.bz2
uhd-5d6d25b49cc783ef012410064bc9eb0e66e50227.zip
Merge branch 'libusb_win'
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)