From 6af6654aa8192f425f2aa4433a158ebb3fec1ce2 Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 24 Oct 2012 01:14:19 +0200 Subject: WinRT x64 minor fix --- cpp/src/IceUtil/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/IceUtil/Thread.cpp') 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(IceUtil::Time::now().toMicroSeconds()); - srand(seed ^ hash()(thread->getThreadControl().id())); + srand(seed ^ static_cast(hash()(thread->getThreadControl().id()))); // // See the comment in IceUtil::Thread::start() for details. -- cgit v1.2.3