->getevents() should take unsigned args
[fio.git] / ioengines.c
index d34d2f4303764566da297e327670d935e23de7ea..9aacc335d906b21b4b5c397c8d26049338bc1b42 100644 (file)
@@ -165,7 +165,7 @@ int td_io_prep(struct thread_data *td, struct io_u *io_u)
        return 0;
 }
 
-int td_io_getevents(struct thread_data *td, int min, int max,
+int td_io_getevents(struct thread_data *td, unsigned int min, unsigned int max,
                    struct timespec *t)
 {
        if (min > 0 && td->io_ops->commit) {