diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Tox/src/tox_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp index 3648bb4dbf..e5305a9b2f 100644 --- a/protocols/Tox/src/tox_account.cpp +++ b/protocols/Tox/src/tox_account.cpp @@ -89,7 +89,7 @@ void CToxProto::DoBootstrap() void CToxProto::DoTox()
{
- mir_cslock((CRITICAL_SECTION&)toxLock);
+ mir_cslock lck(toxLock);
tox_do(tox);
uint32_t interval = tox_do_interval(tox);
|