diff OrthancServer/Scheduler/ServerScheduler.cpp @ 1545:33d34bc4ac15

fix msvc warnings
author jodogne
date Thu, 13 Aug 2015 21:02:31 +0200
parents f967bdf8534e
children 0a2ad4a6858f
line wrap: on
line diff
--- a/OrthancServer/Scheduler/ServerScheduler.cpp	Thu Aug 13 20:39:30 2015 +0200
+++ b/OrthancServer/Scheduler/ServerScheduler.cpp	Thu Aug 13 21:02:31 2015 +0200
@@ -329,7 +329,7 @@
 
     if (job->second.size_ == 1)
     {
-      return job->second.success_;
+      return static_cast<float>(job->second.success_);
     }
 
     return (static_cast<float>(job->second.success_) /