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:
Felipe Zimmerle
2014-03-26 15:10:44 -07:00
parent 503e8f6c8e
commit 1e63e49db4
3 changed files with 5 additions and 5 deletions

View File

@@ -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);