From 1a05224816e689558f1a36a65dc6d3cea5e7def9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 8 Jul 2010 01:44:15 -0400 Subject: [PATCH] Portability - Fixed warning on Solaris. --- src/report.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];