commit | 4127ccdb8da08aac42264f7967bc5cdd4aea8200 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Jul 01 16:19:23 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Jul 01 16:19:23 2009 +0000 |
tree | eb68d6a8c72eab5607dd290c4129eede1c6924cd | |
parent | 81d0c2abc8263b2639fe5bfd9f8f9771571bd33d [diff] [blame] |
Try again at making this work on OpenBSD. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74612 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/ThreadLocal.cpp b/lib/System/ThreadLocal.cpp index b0c7fa5..e7054b5 100644 --- a/lib/System/ThreadLocal.cpp +++ b/lib/System/ThreadLocal.cpp
@@ -44,7 +44,7 @@ int errorcode = pthread_key_create(key, NULL); assert(errorcode == 0); (void) errorcode; - data = static_cast<void*>(key); + data = (void*)key; } ThreadLocalImpl::~ThreadLocalImpl() {