summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-07 10:58:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-07 10:58:20 +0000
commit064b323a22f939a04f54eb3cdcd165cdcca431c9 (patch)
tree5cf41d0ffc3b80472f9d61df71a2259b6c980f82 /protocols/Tox/src/tox_account.cpp
parent24fbd5d70cbf147e5476e9e49ec6c60e58f53f9d (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r--protocols/Tox/src/tox_account.cpp2
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);