diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-06-28 22:52:03 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-06-28 22:52:03 +0000 |
commit | 0e327a88a4640b291ee096fb31396ed4d203f636 (patch) | |
tree | 3155260ffa37d101a4dff4a9152b5a113564c643 /cpp/test/IceUtil/uuid/Client.cpp | |
parent | fix noarch RPM dependencies (diff) | |
download | ice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.bz2 ice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.xz ice-0e327a88a4640b291ee096fb31396ed4d203f636.zip |
Port to Solaris 10 + fix for numerous warnings on Sun
Diffstat (limited to 'cpp/test/IceUtil/uuid/Client.cpp')
-rw-r--r-- | cpp/test/IceUtil/uuid/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/IceUtil/uuid/Client.cpp b/cpp/test/IceUtil/uuid/Client.cpp index 229962d3ddb..345f0f3c3d3 100644 --- a/cpp/test/IceUtil/uuid/Client.cpp +++ b/cpp/test/IceUtil/uuid/Client.cpp @@ -92,7 +92,7 @@ struct GenerateRandomString string s; s.resize(20); char buf[20]; - IceUtil::generateRandom(buf, sizeof(buf)); + IceUtil::generateRandom(buf, static_cast<int>(sizeof(buf))); for(unsigned int i = 0; i < sizeof(buf); ++i) { s[i] = 33 + buf[i] % (127-33); // We use ASCII 33-126 (from ! to ~, w/o space). |