projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d0c2a
)
Try again at making this work on OpenBSD.
author
Owen Anderson
<resistor@mac.com>
Wed, 1 Jul 2009 16:19:23 +0000
(16:19 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 1 Jul 2009 16:19:23 +0000
(16:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74612
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/ThreadLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/System/ThreadLocal.cpp
b/lib/System/ThreadLocal.cpp
index b0c7fa56d7d354926e7203bd67bd091257fed480..e7054b528147189d2f02fde53de63aa793e48fd2 100644
(file)
--- 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() {