tests/gtest_compressionCodec: fix for darwin

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2022-10-17 11:42:53 +02:00
parent 0625a866f0
commit b8ab686561

View File

@ -722,7 +722,7 @@ template <typename T>
struct RandomGenerator
{
explicit RandomGenerator(T seed = 0, T value_min = std::numeric_limits<T>::min(), T value_max = std::numeric_limits<T>::max())
: random_engine(seed),
: random_engine(static_cast<uint_fast32_t>(seed)),
distribution(value_min, value_max)
{
}