diff --git a/src/report.cpp b/src/report.cpp index 233c6e7a5..ff563f7e3 100644 --- a/src/report.cpp +++ b/src/report.cpp @@ -696,7 +696,7 @@ int handleReportSummary (std::string &outs) table.addCell (row, 0, (i->first == "" ? "(none)" : i->first)); table.addCell (row, 1, countPending[i->first]); if (counter[i->first]) - table.addCell (row, 2, Duration (sumEntry[i->first] / counter[i->first]).format ()); + table.addCell (row, 2, Duration ((int) sumEntry[i->first] / counter[i->first]).format ()); int c = countCompleted[i->first]; int p = countPending[i->first];