From 064b323a22f939a04f54eb3cdcd165cdcca431c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Sep 2014 10:58:20 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@10386 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3