commit | 0ab8db8943acc6b9ea778735563bfad2a79e8ddd | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Oct 18 17:16:23 2006 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Oct 18 17:16:23 2006 +0200 |
tree | cdb967873e4a23b6222aacfbe112ae6d6d408cbf | |
parent | a9619d44b439ac9c0d292925a5b4fd1b944d1263 [diff] [blame] |
[PATCH] Make fio -W clean again Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/fio.h b/fio.h index e279574..ca00a43 100644 --- a/fio.h +++ b/fio.h
@@ -540,6 +540,6 @@ #define fio_unused __attribute((__unused__)) #define for_each_file(td, f, i) \ - for ((i) = 0, (f) = &(td)->files[0]; (i) < (td)->nr_files; (i)++, (f) = &(td)->files[(i)]) + for ((i) = 0, (f) = &(td)->files[0]; (i) < (int) (td)->nr_files; (i)++, (f) = &(td)->files[(i)]) #endif