diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/System/ThreadLocal.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/System/ThreadLocal.cpp b/lib/System/ThreadLocal.cpp index 8884e79..b0c7fa5 100644 --- a/lib/System/ThreadLocal.cpp +++ b/lib/System/ThreadLocal.cpp @@ -44,7 +44,7 @@ ThreadLocalImpl::ThreadLocalImpl() : data(0) {    int errorcode = pthread_key_create(key, NULL);    assert(errorcode == 0);    (void) errorcode; -  data = key; +  data = static_cast<void*>(key);  }  ThreadLocalImpl::~ThreadLocalImpl() { | 
