summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r--protocols/Tox/src/tox_connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_connection.cpp b/protocols/Tox/src/tox_connection.cpp
index 3b0d3c9d46..5f3d9970ca 100644
--- a/protocols/Tox/src/tox_connection.cpp
+++ b/protocols/Tox/src/tox_connection.cpp
@@ -25,7 +25,7 @@ void CToxProto::OnLoggedIn()
/////////////////////////////////////////////////////////////////////////////////////////
// Tox polling callback
-static void sttScheduledDisconnect(void *param)
+static void CALLBACK sttScheduledDisconnect(void *param)
{
auto *ppro = (CToxProto *)param;
ppro->SetStatus(ID_STATUS_OFFLINE);