Commit 06f5c9df by Richard Kenner

(objc_mutex_unlock): Properly declare thread_id.

From-SVN: r11612
parent a39a7484
......@@ -219,7 +219,7 @@ objc_mutex_trylock(_objc_mutex_t mutex)
int
objc_mutex_unlock(_objc_mutex_t mutex)
{
int thread_id; /* Cache our thread id. */
_objc_thread_t thread_id; /* Cache our thread id. */
if (!mutex) /* Is argument bad? */
return -1; /* Yes, abort. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment