diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-12-13 15:01:36 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-12-13 15:01:36 +0000 |
commit | 4835a16f5931d2129eb058a159932155ef86d5d1 (patch) | |
tree | 621cb4ce4c72954efdb3040d9398558953080539 /cpp/src/IceGrid/SessionManager.h | |
parent | Bug 1570 - object adapter configuration (diff) | |
download | ice-4835a16f5931d2129eb058a159932155ef86d5d1.tar.bz2 ice-4835a16f5931d2129eb058a159932155ef86d5d1.tar.xz ice-4835a16f5931d2129eb058a159932155ef86d5d1.zip |
Win32 fix
Diffstat (limited to 'cpp/src/IceGrid/SessionManager.h')
-rw-r--r-- | cpp/src/IceGrid/SessionManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/SessionManager.h b/cpp/src/IceGrid/SessionManager.h index c4ebfc887f6..cec800908eb 100644 --- a/cpp/src/IceGrid/SessionManager.h +++ b/cpp/src/IceGrid/SessionManager.h @@ -122,7 +122,8 @@ public: assert(_nextAction != None); action = _nextAction; - registry = InternalRegistryPrx::uncheckedCast(_registry->ice_timeout(timeout.toMilliSeconds())); + registry = InternalRegistryPrx::uncheckedCast( + _registry->ice_timeout(static_cast<int>(timeout.toMilliSeconds()))); _nextAction = None; _state = InProgress; notifyAll(); |