diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-03-08 19:55:27 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-03-08 19:55:27 +0000 |
commit | e6040d92b93c1549e2f3fb874cbf57ca60dae24a (patch) | |
tree | 344c4257215a4f4cace359670daace0ae8189229 /cppe/test/Common/TestCommon.cpp | |
parent | By default include tpc in client library (diff) | |
download | ice-e6040d92b93c1549e2f3fb874cbf57ca60dae24a.tar.bz2 ice-e6040d92b93c1549e2f3fb874cbf57ca60dae24a.tar.xz ice-e6040d92b93c1549e2f3fb874cbf57ca60dae24a.zip |
Fixed test trace on linux
Diffstat (limited to 'cppe/test/Common/TestCommon.cpp')
-rwxr-xr-x | cppe/test/Common/TestCommon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppe/test/Common/TestCommon.cpp b/cppe/test/Common/TestCommon.cpp index c25201762cc..303d3f697ad 100755 --- a/cppe/test/Common/TestCommon.cpp +++ b/cppe/test/Common/TestCommon.cpp @@ -38,15 +38,15 @@ public: { IceUtil::StaticMutex::Lock sync(globalMutex); string s = "[ "; -#ifdef _WIN32 { char buf[1024]; +#ifdef _WIN32 sprintf(buf, "%ld", GetTickCount()); - s += buf; - } #else - s += IceUtil::Time::now().toMilliSeconds(); + sprintf(buf, "%lu", (long)IceUtil::Time::now().toMilliSeconds()); #endif + s += buf; + } s += ' '; if(!category.empty()) |