diff options
author | Jose <jose@zeroc.com> | 2012-10-24 01:14:19 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-10-24 01:14:19 +0200 |
commit | 6af6654aa8192f425f2aa4433a158ebb3fec1ce2 (patch) | |
tree | f1de90abaf6d2159ca0e02d5329de39de86424a0 /cpp/src | |
parent | IceGridGUI fix login wizard text fields to unselect text on focus (diff) | |
download | ice-6af6654aa8192f425f2aa4433a158ebb3fec1ce2.tar.bz2 ice-6af6654aa8192f425f2aa4433a158ebb3fec1ce2.tar.xz ice-6af6654aa8192f425f2aa4433a158ebb3fec1ce2.zip |
WinRT x64 minor fix
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceUtil/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Thread.cpp b/cpp/src/IceUtil/Thread.cpp index a54cbee22cb..75f6cb3e7d0 100644 --- a/cpp/src/IceUtil/Thread.cpp +++ b/cpp/src/IceUtil/Thread.cpp @@ -152,7 +152,7 @@ WINAPI startHook(void* arg) // Windows (the rand() seed is thread specific). // unsigned int seed = static_cast<unsigned int>(IceUtil::Time::now().toMicroSeconds()); - srand(seed ^ hash<thread::id>()(thread->getThreadControl().id())); + srand(seed ^ static_cast<unsigned int>(hash<thread::id>()(thread->getThreadControl().id()))); // // See the comment in IceUtil::Thread::start() for details. |