Fix 32-bit compile warning in should_check_rate()
authorJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 20:35:14 +0000 (13:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 20:35:14 +0000 (13:35 -0700)
Introduced with the change from unsigned long -> uint64_T

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.h

diff --git a/fio.h b/fio.h
index ed793ae560e180bc4255315de441c00be27b4f8b..1ff384fdb4d08141a4e681cd507fbc5d7655c528 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -792,7 +792,7 @@ static inline int __should_check_rate(struct thread_data *td,
 }
 
 static inline int should_check_rate(struct thread_data *td,
-                                   unsigned long *bytes_done)
+                                   uint64_t *bytes_done)
 {
        int ret = 0;