From c31a43e64d07fe97df66b3b83e1e91c2ac01aa8d Mon Sep 17 00:00:00 2001 From: lotodore Date: Fri, 25 Apr 2008 09:32:50 +0000 Subject: [PATCH] --- src/net/common/socket_startup_cmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/common/socket_startup_cmn.cpp b/src/net/common/socket_startup_cmn.cpp index 0acf6e86..153c9543 100644 --- a/src/net/common/socket_startup_cmn.cpp +++ b/src/net/common/socket_startup_cmn.cpp @@ -42,7 +42,7 @@ extern "C" { #if (BOOST_VERSION) >= 103500 ((boost::mutex *)(*obj))->lock(); #else - boost::detail::thread::lock_ops::lock((boost::mutex *)(*obj)); + boost::detail::thread::lock_ops::lock(*((boost::mutex *)*obj)); #endif return 0; } @@ -50,7 +50,7 @@ extern "C" { #if (BOOST_VERSION) >= 103500 ((boost::mutex *)(*obj))->unlock(); #else - boost::detail::thread::lock_ops::unlock((boost::mutex *)(*obj)); + boost::detail::thread::lock_ops::unlock(*((boost::mutex *)*obj)); #endif return 0; }