--- router/src/rest_host_cache/src/rest_host_cache_entries.cc.orig 2026-07-10 11:18:36 UTC +++ router/src/rest_host_cache/src/rest_host_cache_entries.cc @@ -63,7 +63,8 @@ bool RestHostCacheEntries::on_handle_request( (remaining_ttl > k_zero_seconds) ? remaining_ttl : k_zero_seconds; rapidjson::Value object(rapidjson::kObjectType); - object.AddMember("secondsRemainingTtl", remaining_ttl.count(), + object.AddMember("secondsRemainingTtl", + static_cast(remaining_ttl.count()), allocator); object.AddMember("ttl", e.ttl_.count(), allocator); object.AddMember("cacheHits", e.cache_hits_.load(),