X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=lib%2Fzipf.h;h=f98ad8182883142e5232000388126534ef3fefe6;hb=e250c0a967d683e40889cc33ffc4c4003adc8d35;hp=dbcaffb2453069442b2aa998267f846c2e15b47f;hpb=2316296a514711bb388d87b34742c04bb561d986;p=fio.git diff --git a/lib/zipf.h b/lib/zipf.h index dbcaffb2..f98ad818 100644 --- a/lib/zipf.h +++ b/lib/zipf.h @@ -11,7 +11,7 @@ struct zipf_state { double zetan; double pareto_pow; struct frand_state rand; - unsigned long rand_off; + uint64_t rand_off; }; void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed);