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

fix msvc warnings
author jodogne
date Thu, 13 Aug 2015 21:02:31 +0200
parents f967bdf8534e
children 0a2ad4a6858f
comparison
equal deleted inserted replaced
1544:4d0e2c38d15b 1545:33d34bc4ac15
327 return 1; 327 return 1;
328 } 328 }
329 329
330 if (job->second.size_ == 1) 330 if (job->second.size_ == 1)
331 { 331 {
332 return job->second.success_; 332 return static_cast<float>(job->second.success_);
333 } 333 }
334 334
335 return (static_cast<float>(job->second.success_) / 335 return (static_cast<float>(job->second.success_) /
336 static_cast<float>(job->second.size_ - 1)); 336 static_cast<float>(job->second.size_ - 1));
337 } 337 }