squelch windows warning

This commit is contained in:
David Rose 2006-02-15 15:37:22 +00:00
parent 303e2c77b1
commit 4e4302b308
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ lock() {
////////////////////////////////////////////////////////////////////
INLINE bool MutexWin32Impl::
try_lock() {
return TryEnterCriticalSection(&_lock);
return (TryEnterCriticalSection(&_lock) != 0);
}
////////////////////////////////////////////////////////////////////