From 2aa0cf060d07a09a55589a71a49536676538e440 Mon Sep 17 00:00:00 2001 From: Boris Erakhtin Date: Thu, 26 Dec 2024 14:45:18 +0500 Subject: [PATCH] Build fix --- core/network/impl/synchronizer_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/network/impl/synchronizer_impl.cpp b/core/network/impl/synchronizer_impl.cpp index dc8bef758e..236355c4d6 100644 --- a/core/network/impl/synchronizer_impl.cpp +++ b/core/network/impl/synchronizer_impl.cpp @@ -1224,9 +1224,9 @@ namespace kagome::network { selected_peers.push_back(p_id); } } else { - std::vector indices; + std::vector indices; indices.reserve(active_peers_size); - for (int i = 0; i < active_peers_size; ++i) { + for (uint32_t i = 0; i < active_peers_size; ++i) { indices.push_back(i); } std::random_device rd;