rgw: fix commit warning.

size_t is a long unsigned, not a long long unsigned.
This commit is contained in:
Greg Farnum 2010-08-18 10:27:48 -07:00
parent 5a89b8b2c9
commit 9092d65b7b

View File

@ -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");
}