mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Uses %zu to print size_t instead of %d.
This will help to reduce the amount of warnings during the compilation See #631 for further information.
This commit is contained in:
@@ -843,7 +843,7 @@ static int msre_op_validateHash_execute(modsec_rec *msr, msre_rule *rule, msre_v
|
||||
|
||||
nlink = apr_pstrmemdup(msr->mp, target, strlen(target) - strlen(valid) - 1);
|
||||
|
||||
msr_log(msr, 9, "Validating URI %s size %d",nlink,strlen(nlink));
|
||||
msr_log(msr, 9, "Validating URI %s size %zu",nlink,strlen(nlink));
|
||||
|
||||
hash_link = do_hash_link(msr, (char *)nlink, HASH_ONLY);
|
||||
|
||||
|
Reference in New Issue
Block a user