comparison OrthancServer/ServerJobs/ArchiveJob.cpp @ 2643:56bee263645f jobs

fix for msvc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 May 2018 09:12:33 +0200
parents c72eb844758c
children e1893d31652a
comparison
equal deleted inserted replaced
2642:ccc470091ea6 2643:56bee263645f
897 void ArchiveJob::GetPublicContent(Json::Value& value) 897 void ArchiveJob::GetPublicContent(Json::Value& value)
898 { 898 {
899 value["Description"] = description_; 899 value["Description"] = description_;
900 value["InstancesCount"] = instancesCount_; 900 value["InstancesCount"] = instancesCount_;
901 value["UncompressedSizeMB"] = 901 value["UncompressedSizeMB"] =
902 static_cast<unsigned int>(uncompressedSize_ / (1024llu * 1024llu)); 902 static_cast<unsigned int>(uncompressedSize_ / MEGA_BYTES);
903 } 903 }
904 904
905 905
906 void ArchiveJob::GetInternalContent(Json::Value& value) 906 void ArchiveJob::GetInternalContent(Json::Value& value)
907 { 907 {