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:
80f62d0
)
Fix the build on OpenBSD.
author
Owen Anderson
<resistor@mac.com>
Wed, 1 Jul 2009 06:53:29 +0000
(06:53 +0000)
committer
Owen Anderson
<resistor@mac.com>
Wed, 1 Jul 2009 06:53:29 +0000
(06:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74597
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 8884e79714b7cf56de5e40e50bc2b78de5d327f2..b0c7fa56d7d354926e7203bd67bd091257fed480 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 =
key
;
+ data =
static_cast<void*>(key)
;
}
ThreadLocalImpl::~ThreadLocalImpl() {