->getevents() should take unsigned args
[fio.git] / engines / libaio.c
index 8f677115056d2e922bda4eaa5f766423db07b6ec..29eac20fe80412f55b7783fd8586dc880fac054b 100644 (file)
@@ -60,8 +60,8 @@ static struct io_u *fio_libaio_event(struct thread_data *td, int event)
        return io_u;
 }
 
-static int fio_libaio_getevents(struct thread_data *td, int min, int max,
-                               struct timespec *t)
+static int fio_libaio_getevents(struct thread_data *td, unsigned int min,
+                               unsigned int max, struct timespec *t)
 {
        struct libaio_data *ld = td->io_ops->data;
        long r;