%zu printf spec is not understood by MS compiler, changing it to %lu

This commit is contained in:
Sergey Lyubka 2012-08-16 11:33:16 +01:00
parent 375950f6d7
commit 6add727c72

View File

@ -1420,7 +1420,7 @@ int mg_read(struct mg_connection *conn, void *buf, size_t len) {
assert((conn->content_len == -1 && conn->consumed_content == 0) ||
conn->consumed_content <= conn->content_len);
DEBUG_TRACE(("%p %zu %lld %lld", buf, len,
DEBUG_TRACE(("%p %lu %lld %lld", buf, (unsigned long) len,
conn->content_len, conn->consumed_content));
nread = 0;
if (conn->consumed_content < conn->content_len) {