diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-03-07 14:15:10 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-03-07 14:15:10 +0000 |
commit | bcf0ceb584580049a250a850f8f4cc9ac2441608 (patch) | |
tree | ca9e1035ddfcb490a4a8e93acc193c66c7b172fb /cpp/demo/Freeze/backup/Client.cpp | |
parent | Added instructions to add . to LD_LIBRARY_PATH (diff) | |
download | ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.bz2 ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.xz ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.zip |
Get rid of a bunch of 64bit warnings on Sun
Diffstat (limited to 'cpp/demo/Freeze/backup/Client.cpp')
-rw-r--r-- | cpp/demo/Freeze/backup/Client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Freeze/backup/Client.cpp b/cpp/demo/Freeze/backup/Client.cpp index 7ef3078d858..231d772044d 100644 --- a/cpp/demo/Freeze/backup/Client.cpp +++ b/cpp/demo/Freeze/backup/Client.cpp @@ -38,7 +38,7 @@ main(int argc, char* argv[]) Freeze::ConnectionPtr connection = createConnection(communicator, "backup"); IntLongMap m(connection, "IntLongMap", true); - const size_t size = 10000; + const int size = 10000; if(m.size() == 0) { @@ -48,7 +48,7 @@ main(int argc, char* argv[]) Time time = Time::now(); Int64 ms = time.toMilliSeconds(); - for(size_t i = 0; i < size; ++i) + for(int i = 0; i < size; ++i) { m.insert(IntLongMap::value_type(i, ms)); } @@ -59,7 +59,7 @@ main(int argc, char* argv[]) for(;;) { - size_t count = 0; + int count = 0; TransactionHolder txHolder(connection); Time time = Time::now(); |