mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix the build on OpenBSD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80f62d0062
commit
91aef8ba97
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user