commit | 1294c3ec7a02d20a98b105c1c41b23358afc67e4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Wed May 11 08:15:18 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Wed May 11 08:15:18 2011 +0200 |
tree | a650406fc93f51fc0f666f68f09dd282873889c9 | |
parent | f2e714707b27f5918a4020e3090d2b346094379c [diff] |
Fix signed int/long truncation on 32-bit architectures With using our internal random generator, we generate unsigned ints. But by mistake this was assigned to a signed long, that doesn't work so well on 32-bit machines. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>