@@ -573,7 +573,7 @@ ngx_http_modsecurity_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
573
573
ngx_str_to_char (clcf -> server_name , cf -> pool ), parent ,
574
574
child );
575
575
dd (" state - parent: '%d' child: '%d'" ,
576
- p -> enable , c -> enable );
576
+ ( int ) p -> enable , ( int ) c -> enable );
577
577
578
578
ngx_conf_merge_value (c -> enable , p -> enable , 0 );
579
579
ngx_conf_merge_value (c -> sanity_checks_enabled , p -> sanity_checks_enabled , 0 );
@@ -591,7 +591,7 @@ ngx_http_modsecurity_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
591
591
return strdup (error );
592
592
}
593
593
dd (" state - this: '%d'" ,
594
- c -> enable );
594
+ ( int ) c -> enable );
595
595
#if defined(MODSECURITY_DDEBUG ) && (MODSECURITY_DDEBUG )
596
596
dd ("NEW CHIELD RULES" );
597
597
msc_rules_dump (c -> rules_set );
@@ -616,7 +616,7 @@ ngx_http_modsecurity_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
616
616
child );
617
617
618
618
dd (" state - parent: '%d' child: '%d'" ,
619
- c -> enable , p -> enable );
619
+ ( int ) c -> enable , ( int ) p -> enable );
620
620
621
621
ngx_conf_merge_value (c -> enable , p -> enable , 0 );
622
622
ngx_conf_merge_value (c -> sanity_checks_enabled , p -> sanity_checks_enabled , 0 );
0 commit comments