diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-01 16:19:23 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-01 16:19:23 +0000 |
commit | 73e6e6f36ba28477793ea8001a76dffa19090dcf (patch) | |
tree | eb68d6a8c72eab5607dd290c4129eede1c6924cd /lib/System/ThreadLocal.cpp | |
parent | 17e9965ee843bcde54a5beab2c68815779ac65af (diff) | |
download | external_llvm-73e6e6f36ba28477793ea8001a76dffa19090dcf.zip external_llvm-73e6e6f36ba28477793ea8001a76dffa19090dcf.tar.gz external_llvm-73e6e6f36ba28477793ea8001a76dffa19090dcf.tar.bz2 |
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
Diffstat (limited to 'lib/System/ThreadLocal.cpp')
-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 b0c7fa5..e7054b5 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 = static_cast<void*>(key); + data = (void*)key; } ThreadLocalImpl::~ThreadLocalImpl() { |