X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=verify.c;h=794244a9b495240974f26f1e4f972f38ec1cc8c2;hp=32e7a041dec521b52574f0de1b9d37e28604f888;hb=4c5946c6606abc87ba7e2bfc57a5030d19b6d4d5;hpb=47f0cc48db34b37d81540b31bf6adf11bb7b578d diff --git a/verify.c b/verify.c index 32e7a041..794244a9 100644 --- a/verify.c +++ b/verify.c @@ -12,10 +12,10 @@ static void fill_random_bytes(struct thread_data *td, unsigned char *p, unsigned int len) { unsigned int todo; - double r; + int r; while (len) { - r = os_random_double(&td->verify_state); + r = os_random_long(&td->verify_state); /* * lrand48_r seems to be broken and only fill the bottom