summaryrefslogtreecommitdiffstats
path: root/fbench/src/test/httpclient.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/test/httpclient.cpp
parente3737a16d211e0cc5b5ad113ea5e3834a47b7ace (diff)
Fix format strings in fbench module.
Diffstat (limited to 'fbench/src/test/httpclient.cpp')
-rw-r--r--fbench/src/test/httpclient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fbench/src/test/httpclient.cpp b/fbench/src/test/httpclient.cpp
index 0d350c393c1..5d11663f1da 100644
--- a/fbench/src/test/httpclient.cpp
+++ b/fbench/src/test/httpclient.cpp
@@ -4,6 +4,7 @@
#include <httpclient/httpclient.h>
#include <iostream>
#include <thread>
+#include <cinttypes>
int
main(int argc, char **argv)
@@ -52,6 +53,6 @@ main(int argc, char **argv)
} else {
printf("ERROR: could not fetch URL content.\n");
}
- printf("REUSE COUNT: %zu\n", client->GetReuseCount());
+ printf("REUSE COUNT: %" PRIu64 "\n", client->GetReuseCount());
return 0;
}