]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: use min<offset_t> instead of min()
authorKefu Chai <kchai@redhat.com>
Wed, 14 Apr 2021 02:19:28 +0000 (10:19 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 15 Apr 2021 04:33:23 +0000 (12:33 +0800)
commit3c0aa2d70a2c39f18bff23b9b7e1e3d1eb8d3206
tree2c5a2c5b636b08e1002ddf22b738d1b660514c04
parent6710f28746268cc77e3be0e1228844b5764b2a88
rgw: use min<offset_t> instead of min()

as its parameters' types might not be identical. to be specific,
the 2nd parameter's type will be an unsigned one after the c++ => yaml
migration.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/rgw/rgw_op.cc