Skip to content

Commit

Permalink
enforce pthread_t->int conversion in Thread_GetID
Browse files Browse the repository at this point in the history
  • Loading branch information
ValleyBell committed Dec 20, 2023
1 parent 079c4e7 commit 91b6542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/OSThread_POSIX.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ UINT64 OSThread_GetID(const OS_THREAD* thr)
#elif defined (__HAIKU__)
return get_pthread_thread_id (thr->id);
#else
return thr->id;
return (UINT64)thr->id;
#endif
}

Expand Down

0 comments on commit 91b6542

Please sign in to comment.