diff options
Diffstat (limited to 'src/thread.cc')
| -rw-r--r-- | src/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.cc b/src/thread.cc index 2d2d427..89dfc92 100644 --- a/src/thread.cc +++ b/src/thread.cc @@ -50,7 +50,7 @@ int JoinThread(ThreadHandle Handle){ int Result = 0; int *ResultPointer; - pthread_join((pthread_t)Handle, &ResultPointer); + pthread_join((pthread_t)Handle, (void**)&ResultPointer); if(ResultPointer != NULL){ Result = *ResultPointer; delete ResultPointer; |
