mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #42658 from jrdi/fix-iotest-nonblock-compile
Minor fix iotest_nonblock build
This commit is contained in:
commit
cbca7c3387
@ -101,7 +101,7 @@ int mainImpl(int argc, char ** argv)
|
|||||||
size_t ops = 0;
|
size_t ops = 0;
|
||||||
while (ops < count)
|
while (ops < count)
|
||||||
{
|
{
|
||||||
if (poll(polls.data(), descriptors, -1) <= 0)
|
if (poll(polls.data(), static_cast<unsigned int>(descriptors), -1) <= 0)
|
||||||
throwFromErrno("poll failed", ErrorCodes::SYSTEM_ERROR);
|
throwFromErrno("poll failed", ErrorCodes::SYSTEM_ERROR);
|
||||||
for (size_t i = 0; i < descriptors; ++i)
|
for (size_t i = 0; i < descriptors; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user