From bec1d486037ed7e1e91ac268c19f0fbd9f81c056 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Thu, 22 Nov 2018 02:40:18 +0100 Subject: e300: Type-cast fix for boost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes compiler errors on newer Boost. boost::posix_time::microseconds() requires a int64_t. Signed-off-by: Andreas Müller --- host/lib/usrp/e300/e300_fifo_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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 { -- cgit v1.2.3