aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg02-midigate.lv2/midigate.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg02-midigate.lv2/midigate.c')
-rw-r--r--plugins/eg02-midigate.lv2/midigate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg02-midigate.lv2/midigate.c b/plugins/eg02-midigate.lv2/midigate.c
index 3ed6fbf..8d2bd74 100644
--- a/plugins/eg02-midigate.lv2/midigate.c
+++ b/plugins/eg02-midigate.lv2/midigate.c
@@ -173,7 +173,7 @@ run(LV2_Handle instance, uint32_t sample_count)
}
write_output(self, offset, ev->time.frames - offset);
- offset = ev->time.frames;
+ offset = (uint32_t)ev->time.frames;
}
write_output(self, offset, sample_count - offset);