Commit 8750f8af authored by Sergey Lyubka's avatar Sergey Lyubka

Added cast in try_parse()

parent e94a02dc
......@@ -4042,7 +4042,7 @@ static void try_parse(struct connection *conn) {
if (conn->request_len > 0) {
const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length");
conn->cl = cl_hdr == NULL ? 0 : to64(cl_hdr);
conn->mg_conn.content_len = conn->cl;
conn->mg_conn.content_len = (size_t) conn->cl;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment