Skip to content

Commit

Permalink
Fix bug in Histogram::writeToLog
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-tclinkenbeard committed Nov 21, 2022
1 parent 9ade12d commit d74a4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/Histogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void Histogram::writeToLog(double elapsed) {
totalCount += buckets[i];
switch (unit) {
case Unit::microseconds:
e.detail(format("LessThan%u.%03u", int(value / 1000), int(value % 1000)), buckets[i]);
e.detail(format("LessThan%" PRIu64, value), buckets[i]);
break;
case Unit::bytes:
case Unit::bytes_per_second:
Expand Down

0 comments on commit d74a4e3

Please sign in to comment.