1
0
Fork 0
forked from lthn/blockchain

gcc warning fixed

This commit is contained in:
sowle 2024-09-25 19:06:24 +02:00
parent 565e950072
commit b8afa3f9c5
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -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<int>(min_allowed_build_number))
return false;
return true;