diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2018-11-22 02:40:18 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-11-28 14:27:34 -0800 |
commit | bec1d486037ed7e1e91ac268c19f0fbd9f81c056 (patch) | |
tree | 59b47a25ce87d7b9d1b3eb60a38af6d92572e4fb | |
parent | 7c22fa5e134cbfc50a36cc99a4ffdf38480183c8 (diff) | |
download | uhd-bec1d486037ed7e1e91ac268c19f0fbd9f81c056.tar.gz uhd-bec1d486037ed7e1e91ac268c19f0fbd9f81c056.tar.bz2 uhd-bec1d486037ed7e1e91ac268c19f0fbd9f81c056.zip |
e300: Type-cast fix for boost
Fixes compiler errors on newer Boost. boost::posix_time::microseconds()
requires a int64_t.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
-rw-r--r-- | host/lib/usrp/e300/e300_fifo_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/e300/e300_fifo_config.cpp b/host/lib/usrp/e300/e300_fifo_config.cpp index 2c0027ae0..e34b56ed4 100644 --- a/host/lib/usrp/e300/e300_fifo_config.cpp +++ b/host/lib/usrp/e300/e300_fifo_config.cpp @@ -108,7 +108,7 @@ struct e300_fifo_poll_waiter boost::mutex::scoped_lock l(_mutex); if (_poll_claimed) { - _cond.timed_wait(l, boost::posix_time::microseconds(timeout*1000000)); + _cond.timed_wait(l, boost::posix_time::microseconds(long(timeout*1000000))); } else { |