Commit e8217d07 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-24313 fixup: GCC 8 -Wconversion

parent 2c226e01
......@@ -4010,10 +4010,10 @@ static bool is_linux_native_aio_supported()
int os_aio_init()
{
int max_write_events= int(srv_n_write_io_threads) *
OS_AIO_N_PENDING_IOS_PER_THREAD;
int max_read_events= int(srv_n_read_io_threads) *
OS_AIO_N_PENDING_IOS_PER_THREAD;
int max_write_events= int(srv_n_write_io_threads *
OS_AIO_N_PENDING_IOS_PER_THREAD);
int max_read_events= int(srv_n_read_io_threads *
OS_AIO_N_PENDING_IOS_PER_THREAD);
int max_events= max_read_events + max_write_events;
int ret;
#if LINUX_NATIVE_AIO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment