From: Richard Kenner Date: Mon, 25 Mar 1996 13:09:26 +0000 (-0500) Subject: (objc_mutex_unlock): Properly declare thread_id. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06f5c9df492f421098a97a261030e831e72de6f2;p=gcc.git (objc_mutex_unlock): Properly declare thread_id. From-SVN: r11612 --- diff --git a/gcc/objc/thr-single.c b/gcc/objc/thr-single.c index 3821a2a15e6..543f6dbeb51 100644 --- a/gcc/objc/thr-single.c +++ b/gcc/objc/thr-single.c @@ -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. */