osd: fix types for size checks

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-06-14 10:14:54 -07:00
parent 2be3c8dd6f
commit 4a1eb3c8fa

View File

@ -1953,7 +1953,7 @@ int ReplicatedPG::do_tmapup(OpContext *ctx, bufferlist::iterator& bp, OSDOp& osd
return result;
}
static int check_offset_and_length(__le64 offset, __le64 length)
static int check_offset_and_length(uint64_t offset, uint64_t length)
{
if (length < 1)
return -EINVAL;