diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-25 03:51:51 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-25 03:51:51 +0000 |
commit | cd2bce7142ff77e1e55149e5edfe04167b4e8964 (patch) | |
tree | ed32cb9d466d766149964a60b3707a1fda5a7c42 /winsup/cygwin/thread.cc | |
parent | dbf193cea8ca484b09053d328bce58238168ef15 (diff) | |
download | cygnal-cd2bce7142ff77e1e55149e5edfe04167b4e8964.tar.gz cygnal-cd2bce7142ff77e1e55149e5edfe04167b4e8964.tar.bz2 cygnal-cd2bce7142ff77e1e55149e5edfe04167b4e8964.zip |
* include/tzfile.h: Add some missing entries.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 (); |