From 26eab23305ca8eb832c53d01047bf59298333df4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Oct 2018 19:41:21 +0200 Subject: [PATCH] Fixed ambiguous conversion --- CMakeLists.txt | 2 +- src/config.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b2d73b..fdc39fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.6) project (mastorss - VERSION 0.8.5 + VERSION 0.8.6 LANGUAGES CXX ) diff --git a/src/config.cpp b/src/config.cpp index ade8457..6676219 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -165,7 +165,7 @@ std::uint16_t read_config(string &instance, string &access_token, string &feedur { interval = "60"; } - config[profile]["interval"] = std::stoul(interval); + config[profile]["interval"] = Json::Value::UInt64(std::stoul(interval)); config_changed = true; } if (config_changed)