->getevents() should take unsigned args
[fio.git] / engines / null.c
index bbb4e8ab9a89521516694e14dc9dd7ea00e7f584..85d6847e18388eee2822f7b7cf38b7d230b5ec27 100644 (file)
@@ -26,8 +26,9 @@ static struct io_u *fio_null_event(struct thread_data *td, int event)
        return nd->io_us[event];
 }
 
        return nd->io_us[event];
 }
 
-static int fio_null_getevents(struct thread_data *td, int min_events,
-                             int fio_unused max, struct timespec fio_unused *t)
+static int fio_null_getevents(struct thread_data *td, unsigned int min_events,
+                             unsigned int fio_unused max,
+                             struct timespec fio_unused *t)
 {
        struct null_data *nd = td->io_ops->data;
        int ret = 0;
 {
        struct null_data *nd = td->io_ops->data;
        int ret = 0;