diff options
author | Jens Axboe <axboe@kernel.dk> | 2012-11-11 08:27:24 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-11-11 08:27:24 +0100 |
commit | a5a4fdfd44ec1b55ebab7800a931c148540a7324 (patch) | |
tree | fd83eb6acf4d06319dec5517dc2ea55a184ce31a /lib/zipf.h | |
parent | 921d17ba00f6fa106f558ea285d1d503f3a41369 (diff) | |
download | fio-a5a4fdfd44ec1b55ebab7800a931c148540a7324.tar.gz fio-a5a4fdfd44ec1b55ebab7800a931c148540a7324.tar.bz2 |
zipf: use 64-bit safe hash for zipf/pareto
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/zipf.h')
-rw-r--r-- | lib/zipf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |