summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/UUID.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-06-28 22:52:03 +0000
committerBernard Normier <bernard@zeroc.com>2006-06-28 22:52:03 +0000
commit0e327a88a4640b291ee096fb31396ed4d203f636 (patch)
tree3155260ffa37d101a4dff4a9152b5a113564c643 /cpp/src/IceUtil/UUID.cpp
parentfix noarch RPM dependencies (diff)
downloadice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.bz2
ice-0e327a88a4640b291ee096fb31396ed4d203f636.tar.xz
ice-0e327a88a4640b291ee096fb31396ed4d203f636.zip
Port to Solaris 10 + fix for numerous warnings on Sun
Diffstat (limited to 'cpp/src/IceUtil/UUID.cpp')
-rw-r--r--cpp/src/IceUtil/UUID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/UUID.cpp b/cpp/src/IceUtil/UUID.cpp
index 0f1c9a905b8..de9618b1c3f 100644
--- a/cpp/src/IceUtil/UUID.cpp
+++ b/cpp/src/IceUtil/UUID.cpp
@@ -112,7 +112,7 @@ IceUtil::generateUUID()
// Randoms by the last 15 bits of the process id.
//
char* buffer = reinterpret_cast<char*>(&uuid);
- generateRandom(buffer, sizeof(UUID));
+ generateRandom(buffer, static_cast<int>(sizeof(UUID)));
//
// Adjust the bits that say "version 4" UUID