--- trunk/src/utils/ProgressBar.cpp 2013/10/31 15:32:17 1938 +++ trunk/src/utils/ProgressBar.cpp 2013/10/31 18:18:57 1939 @@ -130,7 +130,8 @@ namespace OpenMD { // compute the best estimate of the ending time: time_t current_ = time(NULL); - time_t end_ = start_ + (current_ - start_) * (100.0/percent); + time_t end_ = static_cast(start_ + (current_ - start_) * + (100.0/percent) ); struct tm * ender = localtime(&end_); char buffer[22]; strftime(buffer, 22, "%a %b %d @ %I:%M %p", ender);