From 3534f9dc856ab20f4586f1877dccef2dce6f9dc1 Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sun, 11 Jul 2021 09:27:15 +0200 Subject: [PATCH] Warning fix Signed-off-by: Alexander Borsuk --- storage/pinger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/pinger.cpp b/storage/pinger.cpp index 1f2eb74c8d..1ade5dad90 100644 --- a/storage/pinger.cpp +++ b/storage/pinger.cpp @@ -19,7 +19,7 @@ namespace { auto constexpr kTimeoutInSeconds = 4.0; -int32_t DoPing(string const & url) +int64_t DoPing(string const & url) { if (url.empty()) { @@ -54,7 +54,7 @@ Pinger::Endpoints Pinger::ExcludeUnavailableEndpoints(Endpoints const & urls) auto const size = urls.size(); CHECK_GREATER(size, 0, ()); - map timeUrls; + map timeUrls; { ThreadPool t(size, ThreadPool::Exit::ExecPending); for (size_t i = 0; i < size; ++i)