projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another test.
[oota-llvm.git]
/
lib
/
System
/
ThreadLocal.cpp
diff --git
a/lib/System/ThreadLocal.cpp
b/lib/System/ThreadLocal.cpp
index 8884e79714b7cf56de5e40e50bc2b78de5d327f2..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 = key;
+ data =
(void*)
key;
}
ThreadLocalImpl::~ThreadLocalImpl() {