You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Use std::stoll to convert JSON values
This commit is contained in:
@@ -71,5 +71,5 @@ void CacheBase::SetJsonValue(Json::Value root) {
|
||||
|
||||
// Set data from Json (if key is found)
|
||||
if (!root["max_bytes"].isNull())
|
||||
max_bytes = atoll(root["max_bytes"].asString().c_str());
|
||||
max_bytes = std::stoll(root["max_bytes"].asString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user