diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-04-17 16:57:15 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-04-18 10:11:06 -0700 |
commit | 9ec16940fdd49836e36c60d10884b38770125a58 (patch) | |
tree | 510214da657ccc98c0b17ded153e69aa5ec8c215 | |
parent | b407469bb4b36b8551261ee1249063ef3d5a9029 (diff) | |
download | uhd-9ec16940fdd49836e36c60d10884b38770125a58.tar.gz uhd-9ec16940fdd49836e36c60d10884b38770125a58.tar.bz2 uhd-9ec16940fdd49836e36c60d10884b38770125a58.zip |
lib: Unbreak build against Boost 1.67
Some uses of boost::posix_time were incorrect and would cause compiler
errors on Boost 1.67.
-rw-r--r-- | host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp index 7582b4734..af79cfb7c 100644 --- a/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp +++ b/host/lib/transport/nirio/rpc/usrprio_rpc_client.cpp @@ -19,7 +19,7 @@ usrprio_rpc_client::usrprio_rpc_client( std::string server, std::string port ) : _rpc_client(server, port, uhd::get_process_id(), uhd::get_host_id()), - _timeout(boost::posix_time::milliseconds(DEFAULT_TIMEOUT_IN_MS)) + _timeout(boost::posix_time::milliseconds(long(DEFAULT_TIMEOUT_IN_MS))) { _ctor_status = _rpc_client.status() ? NiRio_Status_RpcConnectionError : NiRio_Status_Success; } |