Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
left = buf->get_buf_remaining(off);
dout(20) << __func__ << " left " << left << " len " << len << dendl;
- int r = MIN(len, left);
+ int r = MIN((int)len, left);
if (outbl) {
bufferlist t;
t.substr_of(buf->bl, off - buf->bl_off, r);
case Transaction::OP_COLL_HINT:
{
- coll_t cid = i.get_cid(op->cid);
uint32_t type = op->hint_type;
bufferlist hint;
i.decode_bl(hint);
case Transaction::OP_COLL_HINT:
{
- coll_t cid = i.get_cid(op->cid);
uint32_t type = op->hint_type;
bufferlist hint;
i.decode_bl(hint);