Fixed solaris compilation error with overloading ambiguity
authorTatjana Dubrovica <zev@radensolutions.com>
Fri, 13 May 2016 12:40:48 +0000 (15:40 +0300)
committerTatjana Dubrovica <zev@radensolutions.com>
Fri, 13 May 2016 12:40:48 +0000 (15:40 +0300)
src/server/core/job.cpp

index c58694d..aa341d1 100644 (file)
@@ -404,5 +404,5 @@ void ServerJob::rescheduleExecution()
  */
 int ServerJob::getNextJobExecutionTime()
 {
-   return pow(2, (4 - m_retryCount)) * JOB_RESCHEDULE_OFSET;
+   return pow(2.0f, (4 - m_retryCount)) * JOB_RESCHEDULE_OFSET;
 }