Skip to content

Commit

Permalink
Pass proper type to CString.Format().
Browse files Browse the repository at this point in the history
  • Loading branch information
chemodax committed Jan 7, 2024
1 parent 736b435 commit 68d4c3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pbench/pbench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ CString FormatAvgMinMaxTime(const std::list<CFileTimeSpan> & 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
{
Expand Down

0 comments on commit 68d4c3d

Please sign in to comment.