mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
rgw: comparison between signed and unsigned integer expressions
Fixes: Change the data type of 'c' from int to size_t in src/rgw/rgw_civetweb.cc RGWCivetWeb::read_data Signed-off-by: ashitakasam <694240887@qq.com>
This commit is contained in:
parent
0754b797e1
commit
5507f29f9a
@ -51,7 +51,8 @@ RGWCivetWeb::RGWCivetWeb(mg_connection* const conn)
|
||||
|
||||
size_t RGWCivetWeb::read_data(char *buf, size_t len)
|
||||
{
|
||||
int c, ret;
|
||||
size_t c;
|
||||
int ret;
|
||||
if (got_eof_on_read) {
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user