Fix signed int/long truncation on 32-bit architectures
authorJens Axboe <jaxboe@fusionio.com>
Wed, 11 May 2011 06:15:18 +0000 (08:15 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 11 May 2011 06:15:18 +0000 (08:15 +0200)
commit1294c3ec7a02d20a98b105c1c41b23358afc67e4
treea650406fc93f51fc0f666f68f09dd282873889c9
parentf2e714707b27f5918a4020e3090d2b346094379c
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>
filesetup.c
io_u.c
trim.c