summaryrefslogtreecommitdiffstats
path: root/src/engine/LV2Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/LV2Node.cpp')
-rw-r--r--src/engine/LV2Node.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/LV2Node.cpp b/src/engine/LV2Node.cpp
index 956bf3af..7a8d396e 100644
--- a/src/engine/LV2Node.cpp
+++ b/src/engine/LV2Node.cpp
@@ -91,9 +91,9 @@ LV2Node::prepare_poly(BufferFactory& bufs, uint32_t poly)
}
// Initialize the values of new ports
- for (unsigned long j=0; j < num_ports(); ++j) {
- PortImpl* const port = _ports->at(j);
- Buffer* buffer = port->prepared_buffer(i).get();
+ for (uint32_t j = 0; j < num_ports(); ++j) {
+ PortImpl* const port = _ports->at(j);
+ Buffer* const buffer = port->prepared_buffer(i).get();
// FIXME: Preserve individual voice values
if (port->type() == PortType::CONTROL) {