bool_to_int_with_if inverse case patch
#9476
Merged
bool_to_int_with_if inverse case patch
#9476