Fixed ambiguous conversion
the build was successful Details

This commit is contained in:
tastytea 2018-10-08 19:41:21 +02:00
parent 278a574f80
commit 26eab23305
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.6) cmake_minimum_required (VERSION 3.6)
project (mastorss project (mastorss
VERSION 0.8.5 VERSION 0.8.6
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -165,7 +165,7 @@ std::uint16_t read_config(string &instance, string &access_token, string &feedur
{ {
interval = "60"; interval = "60";
} }
config[profile]["interval"] = std::stoul(interval); config[profile]["interval"] = Json::Value::UInt64(std::stoul(interval));
config_changed = true; config_changed = true;
} }
if (config_changed) if (config_changed)