diff options
Diffstat (limited to 'libc/src/pthread/pthread_join.cpp')
| -rw-r--r-- | libc/src/pthread/pthread_join.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/src/pthread/pthread_join.cpp b/libc/src/pthread/pthread_join.cpp index c3bf4adc6372..0774d0268052 100644 --- a/libc/src/pthread/pthread_join.cpp +++ b/libc/src/pthread/pthread_join.cpp @@ -15,11 +15,11 @@ namespace __llvm_libc { -static_assert(sizeof(pthread_t) == sizeof(__llvm_libc::Thread<int>), - "Mismatch between pthread_t and internal Thread<int>."); +static_assert(sizeof(pthread_t) == sizeof(__llvm_libc::Thread), + "Mismatch between pthread_t and internal Thread."); LLVM_LIBC_FUNCTION(int, pthread_join, (pthread_t th, void **retval)) { - auto *thread = reinterpret_cast<Thread<void *> *>(&th); + auto *thread = reinterpret_cast<Thread *>(&th); int result = thread->join(retval); return result; } |
