Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
gcc4, C89 compat; it's only 33 years
  • Loading branch information
x42 committed Nov 20, 2022
1 parent 164d6b5 commit 75f12b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/midi.c
Expand Up @@ -1458,7 +1458,8 @@ copyCCToUser (void* instp)
{
struct b_instance* inst = (struct b_instance*)instp;
struct b_midicfg* m = (struct b_midicfg*)inst->midicfg;
for (int i = 0; i < 127; ++i) {
int i;
for (i = 0; i < 127; ++i) {
if (m->ctrlUseA[i] != 255) {
remember_dynamic_CC_change (inst, m->rcvChA, m->ctrlUseA[i], i, 0);
}
Expand Down

0 comments on commit 75f12b8

Please sign in to comment.