mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +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;
|
||||
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);
|
||||
for (size_t i = 0; i < descriptors; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user