summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/ThreadLocal.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-01 16:19:23 +0000
committerOwen Anderson <resistor@mac.com>2009-07-01 16:19:23 +0000
commit02c4de357322e58d57c0c4355e68913be29128fd (patch)
treec56a332ae97e76efe2b5b0dcb8994f9b5e9bdff8 /llvm/lib/System/ThreadLocal.cpp
parent8ff5a6c2625ee7ccacbdd6ead6fb53c4b60b72b6 (diff)
downloadbcm5719-llvm-02c4de357322e58d57c0c4355e68913be29128fd.tar.gz
bcm5719-llvm-02c4de357322e58d57c0c4355e68913be29128fd.zip
Try again at making this work on OpenBSD.
llvm-svn: 74612
Diffstat (limited to 'llvm/lib/System/ThreadLocal.cpp')
-rw-r--r--llvm/lib/System/ThreadLocal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/ThreadLocal.cpp b/llvm/lib/System/ThreadLocal.cpp
index b0c7fa56d7d..e7054b52814 100644
--- a/llvm/lib/System/ThreadLocal.cpp
+++ b/llvm/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() {
OpenPOWER on IntegriCloud