Fixed compiler warnings

This commit is contained in:
Lukas Matena 2022-08-16 11:20:31 +02:00
parent bbadcf57b2
commit dc229589bb
4 changed files with 47 additions and 47 deletions

View file

@ -434,7 +434,7 @@ static std::string generate_system_info_json()
pt::ptree hw_node;
{
hw_node.put("ArchName", wxPlatformInfo::Get().GetArchName());
hw_node.put("ArchName", wxPlatformInfo::Get().GetBitnessName());
size_t num = std::round(Slic3r::total_physical_memory()/107374100.);
hw_node.put("RAM_GiB", std::to_string(num / 10) + "." + std::to_string(num % 10));
}