diff --git a/src/pbench/pbench.cpp b/src/pbench/pbench.cpp index 24280c6..0bea649 100644 --- a/src/pbench/pbench.cpp +++ b/src/pbench/pbench.cpp @@ -129,9 +129,9 @@ CString FormatAvgMinMaxTime(const std::list & times) if (times.size() > 1) { result.Format(L"%8s s %8s s %8s s", - FormatTime(total.GetTimeSpan() / times.size()), - FormatTime(min.GetTimeSpan()), - FormatTime(max.GetTimeSpan())); + FormatTime(total.GetTimeSpan() / times.size()).GetString(), + FormatTime(min.GetTimeSpan()).GetString(), + FormatTime(max.GetTimeSpan()).GetString()); } else {