changeset 2643:56bee263645f jobs

fix for msvc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 May 2018 09:12:33 +0200
parents ccc470091ea6
children 5b3bfdf6b790
files OrthancServer/ServerJobs/ArchiveJob.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/ArchiveJob.cpp	Mon May 28 16:46:54 2018 +0200
+++ b/OrthancServer/ServerJobs/ArchiveJob.cpp	Tue May 29 09:12:33 2018 +0200
@@ -899,7 +899,7 @@
     value["Description"] = description_;
     value["InstancesCount"] = instancesCount_;
     value["UncompressedSizeMB"] =
-      static_cast<unsigned int>(uncompressedSize_ / (1024llu * 1024llu));
+      static_cast<unsigned int>(uncompressedSize_ / MEGA_BYTES);
   }