summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Tox/src/tox_bootstrap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_bootstrap.cpp b/protocols/Tox/src/tox_bootstrap.cpp
index 7bdf45bbdc..645b85ad90 100644
--- a/protocols/Tox/src/tox_bootstrap.cpp
+++ b/protocols/Tox/src/tox_bootstrap.cpp
@@ -116,7 +116,7 @@ void CToxProto::UpdateNodes()
return;
}
- long lastUpdate = root.at("last_scan").as_int();
+ DWORD lastUpdate = root.at("last_scan").as_int();
if (lastUpdate <= getDword("NodesUpdate", 0))
return;