Try again at making this work on OpenBSD.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74612 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2009-07-01 16:19:23 +00:00
parent 81d0c2abc8
commit 4127ccdb8d

View File

@ -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() {