(objc_mutex_unlock): Properly declare thread_id.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Mar 1996 13:09:26 +0000 (08:09 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Mar 1996 13:09:26 +0000 (08:09 -0500)
From-SVN: r11612

gcc/objc/thr-single.c

index 3821a2a..543f6db 100644 (file)
@@ -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.              */