summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/api_connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/api_connection.cpp')
-rw-r--r--protocols/Tox/src/api_connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/api_connection.cpp b/protocols/Tox/src/api_connection.cpp
index 3803411fa3..1ed6b51d40 100644
--- a/protocols/Tox/src/api_connection.cpp
+++ b/protocols/Tox/src/api_connection.cpp
@@ -22,7 +22,7 @@ uint32_t tox_iteration_interval(const Tox *tox)
return CreateFunction<uint32_t(*)(const Tox*)>(__FUNCTION__)(tox);
}
-void tox_iterate(Tox *tox)
+void tox_iterate(Tox *tox, void *user_data)
{
- CreateFunction<int(*)(const Tox*)>(__FUNCTION__)(tox);
+ CreateFunction<int(*)(const Tox*, void*)>(__FUNCTION__)(tox, user_data);
} \ No newline at end of file