diff --git a/board/safety/safety_honda.h b/board/safety/safety_honda.h index e229e22ea3c..4bcbd7745d9 100644 --- a/board/safety/safety_honda.h +++ b/board/safety/safety_honda.h @@ -462,7 +462,7 @@ static int honda_bosch_fwd_hook(int bus_num, int addr) { int bus_fwd = -1; if (bus_num == 0) { - int is_button_msg = (addr == 0x296); + bool is_button_msg = (addr == 0x296); bool block_msg = is_button_msg && controls_allowed && honda_bosch_radarless && !honda_bosch_long; if (!block_msg) { bus_fwd = 2;