Merge pull request #41732 from ClickHouse/fix-test-build

Fix test build
This commit is contained in:
Kseniia Sumarokova 2022-09-23 15:39:10 +02:00 committed by GitHub
commit a0b064fc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ static void testIndex()
size_t index_rows = rng() % MAX_ROWS + 1;
test_case(rows, index_rows, 0);
test_case(rows, index_rows, 0.5 * index_rows);
test_case(rows, index_rows, static_cast<size_t>(0.5 * index_rows));
}
}
catch (const Exception & e)