summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-03-15 00:08:03 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-03-15 00:08:03 +0100
commitf4a0aa78d9531e7fd068784183dab9993284cdfc (patch)
tree9038d1f065db339023d60edf24849535af971530 /storage
parent8c7fdef8d73897efad7585729e8d2e221a5fc2ce (diff)
Revert typecasting of variables sent to JsonStream, instead assume that
JsonStream will get overloads for the relevant fundamental types.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp b/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
index bf7468d4c7f..3a588179eb9 100644
--- a/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
+++ b/storage/src/vespa/storage/distributor/distributor_host_info_reporter.cpp
@@ -38,8 +38,8 @@ writeBucketSpacesStats(vespalib::JsonStream& stream,
stream << Object() << "name" << elem.first;
if (elem.second.valid()) {
stream << "buckets" << Object()
- << "total" << static_cast<uint64_t>(elem.second.bucketsTotal())
- << "pending" << static_cast<uint64_t>(elem.second.bucketsPending())
+ << "total" << elem.second.bucketsTotal()
+ << "pending" << elem.second.bucketsPending()
<< End();
}
stream << End();