diff options
Diffstat (limited to 'src/common/thread.c')
-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 6012791e2..b724344e6 100644 --- a/src/common/thread.c +++ b/src/common/thread.c @@ -263,7 +263,7 @@ int rathread_get_tid(void) { #ifdef WIN32 return (int)GetCurrentThreadId(); #else - return (intptr_t)pthread_self(); + return (int)pthread_self(); #endif #endif |