mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
rgw: fix commit warning.
size_t is a long unsigned, not a long long unsigned.
This commit is contained in:
parent
5a89b8b2c9
commit
9092d65b7b
@ -84,7 +84,7 @@ void close_section(struct req_state *s, const char *name)
|
||||
static void dump_content_length(struct req_state *s, size_t len)
|
||||
{
|
||||
char buf[16];
|
||||
snprintf(buf, sizeof(buf), "%llu", len);
|
||||
snprintf(buf, sizeof(buf), "%lu", len);
|
||||
CGI_PRINTF(s->fcgx->out, "Content-Length: %s\n", buf);
|
||||
CGI_PRINTF(s->fcgx->out, "Accept-Ranges: %s\n", "bytes");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user