From cd2bce7142ff77e1e55149e5edfe04167b4e8964 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 25 Sep 2003 03:51:51 +0000 Subject: * include/tzfile.h: Add some missing entries. --- winsup/cygwin/thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/thread.cc') diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 23939b95c..e10824442 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -1574,7 +1574,7 @@ pthread_mutex::_trylock (pthread_t self) { int result = 0; - if (InterlockedCompareExchange ((long *)&lock_counter, 1, 0 ) == 0) + if (InterlockedCompareExchange ((long *) &lock_counter, 1, 0) == 0) set_owner (self); else if (type == PTHREAD_MUTEX_RECURSIVE && pthread::equal (owner, self)) result = lock_recursive (); -- cgit v1.2.3