From 91489ae2c1f1872cfba05b2395e3453d1ccfa1b8 Mon Sep 17 00:00:00 2001 From: aunsane Date: Sat, 24 Mar 2018 22:52:20 +0300 Subject: typo and warning fixes --- protocols/Tox/src/tox_bootstrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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; -- cgit v1.2.3