summaryrefslogtreecommitdiff
path: root/cppe/demo/IceE/chat/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/demo/IceE/chat/Client.cpp')
-rwxr-xr-xcppe/demo/IceE/chat/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppe/demo/IceE/chat/Client.cpp b/cppe/demo/IceE/chat/Client.cpp
index d9657ff1158..09358e3b3f3 100755
--- a/cppe/demo/IceE/chat/Client.cpp
+++ b/cppe/demo/IceE/chat/Client.cpp
@@ -93,7 +93,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
}
}
- SessionPingThreadPtr ping = new SessionPingThread(session, router->getSessionTimeout() / 2);
+ SessionPingThreadPtr ping = new SessionPingThread(session, (long)router->getSessionTimeout() / 2);
ping->start();
string category = router->getServerProxy()->ice_getIdentity().category;