fixed compile error due to missing of var definition

This commit is contained in:
strawmanbobi
2019-07-18 22:25:54 +08:00
parent 5b287e3481
commit 7518dc3576

View File

@@ -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] == ',')
{