]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: Fix 32-bit compilation errors
authorDan Mick <dan.mick@inktank.com>
Mon, 29 Oct 2012 18:03:15 +0000 (11:03 -0700)
committerDan Mick <dan.mick@inktank.com>
Mon, 29 Oct 2012 21:16:14 +0000 (14:16 -0700)
commit5324d2d94a04cc6ecfc1433b42de5af95433191c
tree988608ba64cf6f822bd39a0a5b98b78c71a21491
parent343a687dabd42c5f403827d842753519f4095143
librbd: Fix 32-bit compilation errors

Switch size_t in clip_io to uint64_t; it's just easier, and the
alternative would be to limit 32-bit builds to sizes <= 4GB

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/librbd/internal.cc