summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ServerAdapterI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/ServerAdapterI.cpp')
-rw-r--r--cpp/src/IcePack/ServerAdapterI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePack/ServerAdapterI.cpp b/cpp/src/IcePack/ServerAdapterI.cpp
index 5ca0754d4fc..935ddaa1f03 100644
--- a/cpp/src/IcePack/ServerAdapterI.cpp
+++ b/cpp/src/IcePack/ServerAdapterI.cpp
@@ -176,7 +176,7 @@ ServerAdapterI::getDirectProxy(const Ice::Current& current) const
AdapterNotActiveException ex;
ServerState state = svr->getState();
ex.activatable = svr->getActivationMode() == OnDemand || state == Activating || state == Active;
- ex.timeout = _waitTime.toMilliSeconds();
+ ex.timeout = static_cast<int>(_waitTime.toMilliSeconds());
throw ex;
}
}