summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/latency/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-05-19 14:09:12 +0000
committerMarc Laukien <marc@zeroc.com>2002-05-19 14:09:12 +0000
commit1f7c6e248a10a585dd36b8b4d40031bf4b330632 (patch)
tree02ef6a50010d533ee0e8ba489de37d8adf311b2b /cpp/demo/Ice/latency/Client.cpp
parentsleep now takes IceUtil::Time (diff)
downloadice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.tar.bz2
ice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.tar.xz
ice-1f7c6e248a10a585dd36b8b4d40031bf4b330632.zip
sleep now takes IceUtil::Time
Diffstat (limited to 'cpp/demo/Ice/latency/Client.cpp')
-rw-r--r--cpp/demo/Ice/latency/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Ice/latency/Client.cpp b/cpp/demo/Ice/latency/Client.cpp
index 52013a5352b..df89dc79758 100644
--- a/cpp/demo/Ice/latency/Client.cpp
+++ b/cpp/demo/Ice/latency/Client.cpp
@@ -47,7 +47,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
tsec = IceUtil::Time::now() - tsec;
- double tmsec = tsec * 1000.0;
+ double tmsec = tsec * 1000.0L;
cout << "time for " << repetitions << " pings: " << tmsec << "ms" << endl;
cout << "time per ping: " << tmsec / repetitions << "ms" << endl;