mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Prevent warning
This commit is contained in:
parent
30d292b60d
commit
c2713a6173
@ -481,7 +481,7 @@ bool sthread_tls_create(sthread_tls_t *tls)
|
||||
#ifdef USE_WIN32_THREADS
|
||||
return (*tls = TlsAlloc()) != TLS_OUT_OF_INDEXES;
|
||||
#else
|
||||
return pthread_key_create(tls, NULL) == 0;
|
||||
return pthread_key_create((pthread_key_t*)tls, NULL) == 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user