mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-18 23:53:15 +08:00
%zu printf spec is not understood by MS compiler, changing it to %lu
This commit is contained in:
parent
375950f6d7
commit
6add727c72
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user