diff options
Diffstat (limited to 'tsd.c')
-rw-r--r-- | tsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -215,7 +215,7 @@ pthread_setspecific (pthread_key_t key, const void *value) * Resolve catch-22 of registering thread with threadSelf * key */ - self = pthread_getspecific (_pthread_selfThreadKey); + self = (pthread_t) pthread_getspecific (_pthread_selfThreadKey); if (self == NULL) { self = (pthread_t) value; |