mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Use std::stoull instead of std::stoi in Downloader::checkStatus
This commit is contained in:
parent
59faa40b4b
commit
c4c2f8cb6d
@ -2617,7 +2617,7 @@ void Downloader::checkStatus()
|
||||
{
|
||||
TiXmlElement *fileElemLocal = fileNodeLocal->ToElement();
|
||||
std::string filesize_xml_str = fileElemLocal->Attribute("total_size");
|
||||
filesize_xml = std::stoi(filesize_xml_str);
|
||||
filesize_xml = std::stoull(filesize_xml_str);
|
||||
}
|
||||
}
|
||||
|
||||
@ -2746,7 +2746,7 @@ void Downloader::checkStatus()
|
||||
{
|
||||
TiXmlElement *fileElemLocal = fileNodeLocal->ToElement();
|
||||
std::string filesize_xml_str = fileElemLocal->Attribute("total_size");
|
||||
filesize_xml = std::stoi(filesize_xml_str);
|
||||
filesize_xml = std::stoull(filesize_xml_str);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user