blktrace: Fix replay_align 32 bit truncation
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 3 Dec 2016 09:31:34 +0000 (09:31 +0000)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Mon, 12 Dec 2016 22:23:28 +0000 (22:23 +0000)
commit60a6453012d026a18f9d2a15b843b2d0b178f5aa
tree764e2fc59e4ef7230906c7305357862a65da185a
parent96d663ad34f1def5c41a8fe656c15d5c312dffe2
blktrace: Fix replay_align 32 bit truncation

When using replay_align the aligned offset was truncated when the
original offset was greater than 2^32. Fix this by forcing the
calculation to happen with 64 bits.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
blktrace.c