fixes the warning of
```
warning:
/srv/autobuild-ceph/gitbuilder.git/build/out~/
ceph-11.0.0-1566-ga98ddf7/src/objclass/objclass.h:35:72:
format ‘%lu’ expects argument of type ‘long unsigned int’, but argument
6 has type ‘std::basic_string::size_type {aka unsigned int}’ [-Wformat=]
cls_log(level, " %s:%d: " fmt, __FILE__, __LINE__, ##__VA_ARGS__)
^
/srv/autobuild-ceph/gitbuilder.git/build/out~/
ceph-11.0.0-1566-ga98ddf7/src/cls/rgw/cls_rgw.cc:477:7:
note: in expansion of macro ‘CLS_LOG’
CLS_LOG(20, "start_key=%s len=%lu", start_key.c_str(),
start_key.size());
^
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
decode_list_index_key(kiter->first, &key, &ver);
start_key = kiter->first;
- CLS_LOG(20, "start_key=%s len=%lu", start_key.c_str(), start_key.size());
+ CLS_LOG(20, "start_key=%s len=%zu", start_key.c_str(), start_key.size());
if (!entry.is_valid()) {
CLS_LOG(20, "entry %s[%s] is not valid\n", key.name.c_str(), key.instance.c_str());