summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-07-03 20:50:08 +0200
committerTor Egge <Tor.Egge@online.no>2022-07-03 20:50:08 +0200
commit46a90c39da5a220226c1884a711b4db20ce64415 (patch)
tree59e5999b9fd030a2f890eb4fb443a1fb7f115ae5 /vespalib
parenteed883ef1d070fac08c7ba59d1e34dc754143b18 (diff)
Fix format string in vespa-tsan-digest.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/apps/vespa-tsan-digest/tsan_digest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/apps/vespa-tsan-digest/tsan_digest.cpp b/vespalib/src/apps/vespa-tsan-digest/tsan_digest.cpp
index 2117db276d8..d015cdb0f89 100644
--- a/vespalib/src/apps/vespa-tsan-digest/tsan_digest.cpp
+++ b/vespalib/src/apps/vespa-tsan-digest/tsan_digest.cpp
@@ -220,7 +220,7 @@ public:
++raw_reports;
}
std::vector<vespalib::string> make_keys() const override {
- return {fmt("raw:%zu", get_hash(_lines))};
+ return {fmt("raw:%" PRIu64, get_hash(_lines))};
}
void merge(const Report &) override { ++_count; }
size_t count() const override { return _count; }
@@ -277,7 +277,7 @@ public:
std::vector<vespalib::string> make_keys() const override {
std::vector<vespalib::string> result;
for (const auto &node: _nodes) {
- result.push_back(fmt("race:%zu", node.trace.hash()));
+ result.push_back(fmt("race:%" PRIu64, node.trace.hash()));
}
return result;
}