dtoolbase: fix warning when compiling on Windows

This commit is contained in:
rdb 2019-03-04 16:58:18 +01:00
parent cbb3c182a5
commit 0f5da1c155

View File

@ -36,7 +36,7 @@ lock() {
*/
INLINE bool MutexWin32Impl::
try_lock() {
return _funcs._try_lock(_lock);
return (_funcs._try_lock(_lock) != 0);
}
/**