aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/libusb1_zero_copy.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_zero_copy.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_zero_copy.cpp')
-rw-r--r--host/lib/transport/libusb1_zero_copy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/transport/libusb1_zero_copy.cpp b/host/lib/transport/libusb1_zero_copy.cpp
index b890a87f9..b3a160462 100644
--- a/host/lib/transport/libusb1_zero_copy.cpp
+++ b/host/lib/transport/libusb1_zero_copy.cpp
@@ -18,7 +18,6 @@
#include "libusb1_base.hpp"
#include <uhd/transport/usb_zero_copy.hpp>
#include <uhd/utils/assert.hpp>
-#include <boost/asio.hpp>
#include <boost/format.hpp>
#include <iostream>
#include <iomanip>
@@ -208,7 +207,7 @@ libusb_transfer *usb_endpoint::allocate_transfer(int buff_len)
endpoint, // endpoint
buff, // buffer
buff_len, // length
- callback, // callback
+ libusb_transfer_cb_fn(callback), // callback
this, // user_data
0); // timeout
return lut;