aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/usb_control.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/host/include/uhd/transport/usb_control.hpp b/host/include/uhd/transport/usb_control.hpp
index 23f35d7e8..c5d07bbd4 100644
--- a/host/include/uhd/transport/usb_control.hpp
+++ b/host/include/uhd/transport/usb_control.hpp
@@ -56,13 +56,13 @@ public:
* \param timeout 4-byte (timeout, default is infinite wait)
* \return number of bytes submitted or error code
*/
- virtual ssize_t submit(boost::uint8_t request_type,
- boost::uint8_t request,
- boost::uint16_t value,
- boost::uint16_t index,
- unsigned char *buff,
- boost::uint16_t length,
- boost::int32_t timeout = 0) = 0;
+ virtual int submit(boost::uint8_t request_type,
+ boost::uint8_t request,
+ boost::uint16_t value,
+ boost::uint16_t index,
+ unsigned char *buff,
+ boost::uint16_t length,
+ boost::int32_t timeout = 0) = 0;
};
}} //namespace