Merge branch 'hotfix/#657-Wpedantic-failure' into development

This commit is contained in:
John Wellbelove 2023-01-04 10:28:12 +00:00
commit a414680608

View File

@ -2198,7 +2198,7 @@ namespace etl
return (nbits == etl::integral_limits<type>::bits) ? static_cast<T>(etl::integral_limits<type>::max)
: static_cast<T>((static_cast<type>(1U) << nbits) - 1U);
};
}
//***********************************
template <typename T, size_t NBits>
@ -2214,7 +2214,7 @@ namespace etl
ETL_CONSTEXPR T make_msb_mask(size_t nbits)
{
return static_cast<T>(etl::reverse_bits(make_lsb_mask<T>(nbits)));
};
}
//***************************************************************************
/// 8 bit binary byte constants.