@@ -573,7 +573,7 @@ ngx_http_modsecurity_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
573573 ngx_str_to_char (clcf -> server_name , cf -> pool ), parent ,
574574 child );
575575 dd (" state - parent: '%d' child: '%d'" ,
576- p -> enable , c -> enable );
576+ ( int ) p -> enable , ( int ) c -> enable );
577577
578578 ngx_conf_merge_value (c -> enable , p -> enable , 0 );
579579 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)
591591 return strdup (error );
592592 }
593593 dd (" state - this: '%d'" ,
594- c -> enable );
594+ ( int ) c -> enable );
595595#if defined(MODSECURITY_DDEBUG ) && (MODSECURITY_DDEBUG )
596596 dd ("NEW CHIELD RULES" );
597597 msc_rules_dump (c -> rules_set );
@@ -616,7 +616,7 @@ ngx_http_modsecurity_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
616616 child );
617617
618618 dd (" state - parent: '%d' child: '%d'" ,
619- c -> enable , p -> enable );
619+ ( int ) c -> enable , ( int ) p -> enable );
620620
621621 ngx_conf_merge_value (c -> enable , p -> enable , 0 );
622622 ngx_conf_merge_value (c -> sanity_checks_enabled , p -> sanity_checks_enabled , 0 );
0 commit comments