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