Fix address truncation on Windows
authorBruce Cran <bruce@cran.org.uk>
Wed, 4 Apr 2012 00:00:00 +0000 (18:00 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Apr 2012 00:00:00 +0000 (18:00 -0600)
commit7078106dbbc524b6a3b2c39ddd04a9f676b10e53
tree9bf9040b708863eb1db8ca141e9505d14d283fb8
parent0d23771290c6bc8ed5c6e917b1eb90f86ef81931
Fix address truncation on Windows

Avoid having PAGE_ALIGN truncate addresses by using a pointer-sized
variable for the page size and mask.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fio.c
fio.h