mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Fix compiler warnings
This commit is contained in:
@@ -859,7 +859,7 @@ static int hook_request_late(request_rec *r) {
|
||||
|
||||
if(msr->txcfg->stream_inbody_inspection && msr->msc_reqbody_read) {
|
||||
const char *clen = NULL;
|
||||
clen = apr_psprintf(msr->mp,"%d",msr->stream_input_length);
|
||||
clen = apr_psprintf(msr->mp,"%"APR_SIZE_T_FMT,msr->stream_input_length);
|
||||
if(clen)
|
||||
apr_table_setn(r->headers_in, "Content-Length",clen);
|
||||
}
|
||||
|
Reference in New Issue
Block a user