From 06f5c9df492f421098a97a261030e831e72de6f2 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 25 Mar 1996 08:09:26 -0500 Subject: [PATCH] (objc_mutex_unlock): Properly declare thread_id. From-SVN: r11612 --- gcc/objc/thr-single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.30.2