Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
authorJens Axboe <jens.axboe@oracle.com>
Mon, 12 Mar 2007 13:20:58 +0000 (14:20 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 12 Mar 2007 13:20:58 +0000 (14:20 +0100)
init.c

diff --git a/init.c b/init.c
index 4bea304..bbd0675 100644 (file)
--- a/init.c
+++ b/init.c
@@ -827,7 +827,7 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num)
        if (td->odirect)
                td->io_ops->flags |= FIO_RAWIO;
 
-       fn_given = (int) td->filename;
+       fn_given = (long) td->filename;
        if (!td->filename)
                td->filename = strdup(jobname);