From b8afa3f9c5c4cf496bfdb6f58dad2be7a2121a50 Mon Sep 17 00:00:00 2001 From: sowle Date: Wed, 25 Sep 2024 19:06:24 +0200 Subject: [PATCH] gcc warning fixed --- src/currency_protocol/currency_protocol_handler.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/currency_protocol/currency_protocol_handler.inl b/src/currency_protocol/currency_protocol_handler.inl index 3d070fb4..b9c7a524 100644 --- a/src/currency_protocol/currency_protocol_handler.inl +++ b/src/currency_protocol/currency_protocol_handler.inl @@ -1020,7 +1020,7 @@ namespace currency if (min_allowed_build_number == SIZE_MAX) min_allowed_build_number = m_core.get_blockchain_storage().get_core_runtime_config().get_min_allowed_build_version_for_height(m_core.get_top_block_height() + 1); - if (build_number < min_allowed_build_number) + if (build_number < static_cast(min_allowed_build_number)) return false; return true;