1
0
mirror of https://github.com/google/benchmark.git synced 2025-04-29 06:20:32 +08:00

silence shortening warning

This commit is contained in:
Eric Fiselier 2015-03-10 15:13:57 -04:00
parent c99cd2ba6a
commit 3c9692e661

View File

@ -765,7 +765,7 @@ bool ConsoleReporter::ReportContext(const Context& context) const {
"timings may be noisy\n");
}
int prefix_len = std::strlen(Prefix());
int prefix_len = static_cast<int>(std::strlen(Prefix()));
int output_width =
fprintf(stdout,
"%s%-*s %10s %10s %10s\n",