diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-04-29 19:51:33 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-04-29 19:51:33 +0000 |
commit | d6b805efcf63a16a759f0a104db74c5e9c009f7d (patch) | |
tree | 2a73b6a3e15c2cf711a0c4f1ab12dd52687e003e /cpp/test/Freeze/complex/Client.cpp | |
parent | file UserExceptionFactory.h was initially added on branch slicing. (diff) | |
download | ice-d6b805efcf63a16a759f0a104db74c5e9c009f7d.tar.bz2 ice-d6b805efcf63a16a759f0a104db74c5e9c009f7d.tar.xz ice-d6b805efcf63a16a759f0a104db74c5e9c009f7d.zip |
Sun: 64 bit + CC 5.3 support
Diffstat (limited to 'cpp/test/Freeze/complex/Client.cpp')
-rw-r--r-- | cpp/test/Freeze/complex/Client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Freeze/complex/Client.cpp b/cpp/test/Freeze/complex/Client.cpp index 89cbf482759..b46011a354e 100644 --- a/cpp/test/Freeze/complex/Client.cpp +++ b/cpp/test/Freeze/complex/Client.cpp @@ -69,7 +69,7 @@ static const char* expressions[] = "5*(2+3)", "10+(10+(20+(8*(2*(3*2+4+5+6)))))" }; -static const int nexpressions = sizeof(expressions)/sizeof(expressions[0]); +static const size_t nexpressions = sizeof(expressions)/sizeof(expressions[0]); static int populate(const DBPtr& db) @@ -78,7 +78,7 @@ populate(const DBPtr& db) cout << "populating the database... "; Parser myParser; - for(int i = 0 ; i < nexpressions; ++i) + for(size_t i = 0 ; i < nexpressions; ++i) { Complex::NodePtr root = myParser.parse(expressions[i]); assert(root); |