diff options
Diffstat (limited to 'cpp/src/IceUtil/UUID.cpp')
-rw-r--r-- | cpp/src/IceUtil/UUID.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/UUID.cpp b/cpp/src/IceUtil/UUID.cpp index c64c8cb1b70..3e7a25dff8b 100644 --- a/cpp/src/IceUtil/UUID.cpp +++ b/cpp/src/IceUtil/UUID.cpp @@ -135,7 +135,7 @@ IceUtil::generateUUID() // Randoms by the last 15 bits of the process id. // char* buffer = reinterpret_cast<char*>(&uuid); - IceUtilInternal::generateRandom(buffer, static_cast<int>(sizeof(UUID))); + IceUtilInternal::generateRandom(buffer, sizeof(UUID)); // // Adjust the bits that say "version 4" UUID |