aboutsummaryrefslogtreecommitdiffstats
path: root/fbench/src/fbench/fbench.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-03-12 19:08:19 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-03-12 19:08:19 +0100
commitae69850ed3445b5569035862e95b95d12f37051b (patch)
tree8b62360d4a9571abe5811a6884c35dbe3bf81f99 /fbench/src/fbench/fbench.cpp
parente3737a16d211e0cc5b5ad113ea5e3834a47b7ace (diff)
Fix format strings in fbench module.
Diffstat (limited to 'fbench/src/fbench/fbench.cpp')
-rw-r--r--fbench/src/fbench/fbench.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fbench/src/fbench/fbench.cpp b/fbench/src/fbench/fbench.cpp
index 36c60e08ef7..205dc867950 100644
--- a/fbench/src/fbench/fbench.cpp
+++ b/fbench/src/fbench/fbench.cpp
@@ -13,6 +13,7 @@
#include <cstring>
#include <cmath>
#include <csignal>
+#include <cinttypes>
namespace {
@@ -224,7 +225,7 @@ FBench::PrintSummary()
if (_keepAlive) {
printf("*** HTTP keep-alive statistics ***\n");
- printf("connection reuse count -- %zu\n", status._reuseCnt);
+ printf("connection reuse count -- %" PRIu64 "\n", status._reuseCnt);
}
printf("***************** Benchmark Summary *****************\n");
printf("clients: %8ld\n", _clients.size());