commit | 02c4de357322e58d57c0c4355e68913be29128fd | [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 | c56a332ae97e76efe2b5b0dcb8994f9b5e9bdff8 | |
parent | 8ff5a6c2625ee7ccacbdd6ead6fb53c4b60b72b6 [diff] [blame] |
Try again at making this work on OpenBSD. llvm-svn: 74612
diff --git a/llvm/lib/System/ThreadLocal.cpp b/llvm/lib/System/ThreadLocal.cpp index b0c7fa5..e7054b5 100644 --- a/llvm/lib/System/ThreadLocal.cpp +++ b/llvm/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() {