diff options
-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; } |