From 236a952458a547e71390c2b846ef1ee52ffc52a8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 11 May 2017 14:26:46 -0700 Subject: typo --- controller/JSONDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller') diff --git a/controller/JSONDB.cpp b/controller/JSONDB.cpp index 3b98a7ac..e0dd1742 100644 --- a/controller/JSONDB.cpp +++ b/controller/JSONDB.cpp @@ -392,7 +392,7 @@ bool JSONDB::_load(const std::string &p) std::string objtype(OSUtils::jsonString(j["objtype"],"")); if ((id.length() == 16)&&(objtype == "network")) { - const uint64_t nwid = Utils::hexStrToU64(const char *s)(id.c_str()); + const uint64_t nwid = Utils::hexStrToU64(id.c_str()); if (nwid) { Mutex::Lock _l(_networks_m); _networks[nwid].config = nlohmann::json::to_msgpack(j); -- cgit v1.2.3