mirror of
https://github.com/libretro/libretro-uae.git
synced 2026-11-07 11:16:05 -10:00
wiiu: fix cast for osthread (#750)
This commit is contained in:
1 parent
b2c33a271b
commit
6536174a80
1 file changed
+3
-2
@@ -116,12 +116,13 @@ static INLINE int pthread_detach(pthread_t thread)
|
||||
|
||||
static INLINE int pthread_join(pthread_t thread, void **retval)
|
||||
{
|
||||
OSThread *t = (OSThread *)thread;
|
||||
(void)retval;
|
||||
bool ret = OSJoinThread(thread, NULL);
|
||||
if(ret == true)
|
||||
{
|
||||
free(thread->stackEnd);
|
||||
free(thread);
|
||||
free(t->stackEnd);
|
||||
free(t);
|
||||
}
|
||||
return (ret == true) ? 0 : -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user