Portability

- Fixed warning on Solaris.
This commit is contained in:
Paul Beckingham 2010-07-08 01:44:15 -04:00
parent e4f7bda430
commit 1a05224816

View file

@ -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];