]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cls_cas: Fix format string warning
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 12 Sep 2018 17:02:18 +0000 (13:02 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 12 Sep 2018 17:02:18 +0000 (13:02 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/cls/cas/cls_cas.cc

index cfa808e0d632d7b4dfd609d66dbde6a1a25573c4..062ded5ac66f5de5619ec6daface1c4c553e8ad0 100644 (file)
@@ -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<long long unsigned>(op.extent.offset),
+         static_cast<long long unsigned>(op.extent.length));
   chunk_obj_refcount objr;
   int ret = chunk_read_refcount(hctx, &objr);
   if (ret == -ENOENT) {