From: Adam C. Emerson Date: Wed, 12 Sep 2018 17:02:18 +0000 (-0400) Subject: cls_cas: Fix format string warning X-Git-Tag: v14.0.1~303^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=89ed654391f5b1f912f8756d91772f74303cd928;p=ceph-ci.git cls_cas: Fix format string warning Signed-off-by: Adam C. Emerson --- diff --git a/src/cls/cas/cls_cas.cc b/src/cls/cas/cls_cas.cc index cfa808e0d63..062ded5ac66 100644 --- a/src/cls/cas/cls_cas.cc +++ b/src/cls/cas/cls_cas.cc @@ -186,7 +186,9 @@ static int cls_rc_write_or_get(cls_method_context_t hctx, bufferlist *in, buffer return -EINVAL; } - CLS_LOG(10, " offset: %llu length: %llu \n", op.extent.offset, op.extent.length); + CLS_LOG(10, " offset: %llu length: %llu \n", + static_cast(op.extent.offset), + static_cast(op.extent.length)); chunk_obj_refcount objr; int ret = chunk_read_refcount(hctx, &objr); if (ret == -ENOENT) {