Skip to content

Commit 91b6542

Browse files
committed
enforce pthread_t->int conversion in Thread_GetID
1 parent 079c4e7 commit 91b6542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/OSThread_POSIX.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ UINT64 OSThread_GetID(const OS_THREAD* thr)
9595
#elif defined (__HAIKU__)
9696
return get_pthread_thread_id (thr->id);
9797
#else
98-
return thr->id;
98+
return (UINT64)thr->id;
9999
#endif
100100
}
101101

0 commit comments

Comments
 (0)