From: Jens Axboe Date: Mon, 17 Sep 2018 19:46:51 +0000 (-0600) Subject: filesetup: use 64-bit type for file size generation X-Git-Tag: fio-3.11~35 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ed06087e5f4f5dcb6660d1095005c777bcd661cb filesetup: use 64-bit type for file size generation Signed-off-by: Jens Axboe --- diff --git a/filesetup.c b/filesetup.c index 6108ca30..c0fa3cda 100644 --- a/filesetup.c +++ b/filesetup.c @@ -331,7 +331,7 @@ unsigned long long get_rand_file_size(struct thread_data *td) { unsigned long long ret, sized; uint64_t frand_max; - unsigned long r; + uint64_t r; frand_max = rand_max(&td->file_size_state); r = __rand(&td->file_size_state);