diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/thread.c b/src/common/thread.c index baf4171da..315b310b2 100644 --- a/src/common/thread.c +++ b/src/common/thread.c @@ -271,7 +271,7 @@ int rathread_get_tid(){ #ifdef WIN32 return (int)GetCurrentThreadId(); #else - return (int)pthread_self(); + return (intptr_t)pthread_self(); #endif #endif |