X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=1350857ffb04d9f4ed1274298675f9a94adf44a8;hp=2b690c8930d91cc39eeac8e4fb8a845409c96a86;hb=1294c3ec7a02d20a98b105c1c41b23358afc67e4;hpb=f2e714707b27f5918a4020e3090d2b346094379c diff --git a/filesetup.c b/filesetup.c index 2b690c89..1350857f 100644 --- a/filesetup.c +++ b/filesetup.c @@ -208,7 +208,7 @@ static int pre_read_file(struct thread_data *td, struct fio_file *f) static unsigned long long get_rand_file_size(struct thread_data *td) { unsigned long long ret, sized; - long r; + unsigned long r; if (td->o.use_os_rand) { r = os_random_long(&td->file_size_state);