@@ -1103,7 +1103,7 @@ int inject_hashed_response_body(modsec_rec *msr, int elts) {
11031103 memcpy (msr -> stream_output_data , xmlOutputBufferGetContent (output_buf ), msr -> stream_output_length );
11041104
11051105 if (msr -> txcfg -> debuglog_level >= 4 )
1106- msr_log (msr , 4 , "inject_hashed_response_body: Copying XML tree from CONTENT to stream buffer [%d ] bytes." , xmlOutputBufferGetSize (output_buf ));
1106+ msr_log (msr , 4 , "inject_hashed_response_body: Copying XML tree from CONTENT to stream buffer [%zu ] bytes." , xmlOutputBufferGetSize (output_buf ));
11071107
11081108 } else {
11091109
@@ -1132,7 +1132,7 @@ int inject_hashed_response_body(modsec_rec *msr, int elts) {
11321132 memcpy (msr -> stream_output_data , xmlOutputBufferGetContent (output_buf ), msr -> stream_output_length );
11331133
11341134 if (msr -> txcfg -> debuglog_level >= 4 )
1135- msr_log (msr , 4 , "inject_hashed_response_body: Copying XML tree from CONV to stream buffer [%d ] bytes." , xmlOutputBufferGetSize (output_buf ));
1135+ msr_log (msr , 4 , "inject_hashed_response_body: Copying XML tree from CONV to stream buffer [%zu ] bytes." , xmlOutputBufferGetSize (output_buf ));
11361136
11371137 }
11381138
@@ -1379,7 +1379,7 @@ char *do_hash_link(modsec_rec *msr, char *link, int type) {
13791379 relative_link = relative_uri + 1 ;
13801380
13811381 if (msr -> txcfg -> debuglog_level >= 4 ) {
1382- msr_log (msr , 4 , "Signing data [%s] size %d " , relative_link , strlen (relative_link ));
1382+ msr_log (msr , 4 , "Signing data [%s] size %zu " , relative_link , strlen (relative_link ));
13831383 }
13841384
13851385 if (msr -> txcfg -> crypto_key_add == HASH_KEYONLY )
0 commit comments