diff --git a/src/ir_decoder/src/ir_ac_parse_parameter.c b/src/ir_decoder/src/ir_ac_parse_parameter.c index 77cc351..2752aae 100644 --- a/src/ir_decoder/src/ir_ac_parse_parameter.c +++ b/src/ir_decoder/src/ir_ac_parse_parameter.c @@ -1137,7 +1137,7 @@ INT8 parse_swing_info(struct tag_head *tag, t_swing_info *si) // count how many swing types are there si->type = SWING_TYPE_NORMAL; si->mode_count = 1; - for (i = 0; i < tag->len; i++) + for (int i = 0; i < tag->len; i++) { if (tag->p_data[i] == ',') {