From: Jens Axboe Date: Wed, 16 May 2007 06:59:27 +0000 (+0200) Subject: Fix timeout on 64-bit BE archs X-Git-Tag: fio-1.16.2~17 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=0db2679750e4cc8f38af7af135f1ba8481d6def6;hp=38470f85fa4acddab4339db9c8805a19bc87578e Fix timeout on 64-bit BE archs We stored the timeout in an unsigned long long pointer, but the value was really unsigned long. --- diff --git a/fio.h b/fio.h index bcd188b3..6ee0d6aa 100644 --- a/fio.h +++ b/fio.h @@ -393,7 +393,7 @@ struct thread_options { unsigned int thinktime_blocks; unsigned int fsync_blocks; unsigned int start_delay; - unsigned long timeout; + unsigned long long timeout; unsigned int overwrite; unsigned int bw_avg_time; unsigned int loops;