mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
Merge pull request #29151 from tchaikov/wip-rgw-kill-gcc-warnings
rgw/rgw_crypt.cc: silence -Wsign-compare GCC warning Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
commit
4e10548810
@ -91,7 +91,7 @@ bool evp_sym_transform(CephContext* const cct,
|
||||
|
||||
// operate!
|
||||
int written = 0;
|
||||
ceph_assert(size <= std::numeric_limits<int>::max());
|
||||
ceph_assert(size <= static_cast<size_t>(std::numeric_limits<int>::max()));
|
||||
if (1 != EVP_CipherUpdate(pctx.get(), out, &written, in, size)) {
|
||||
ldout(cct, 5) << "EVP: EVP_CipherUpdate failed" << dendl;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user