summaryrefslogtreecommitdiffstats
path: root/src/JackInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JackInput.cpp')
-rw-r--r--src/JackInput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JackInput.cpp b/src/JackInput.cpp
index 958685d..bc57588 100644
--- a/src/JackInput.cpp
+++ b/src/JackInput.cpp
@@ -80,7 +80,7 @@ void JackInput::prepare()
}
/* create ports */
- for (int i = 0; i < m_channels; i++) {
+ for (unsigned int i = 0; i < m_channels; i++) {
std::stringstream port_name;
port_name << "input" << i;
@@ -118,7 +118,7 @@ void JackInput::jack_process(jack_nframes_t nframes)
*/
std::vector<int16_t> buffer(m_channels * nframes);
- for (int chan = 0; chan < m_channels; chan++) {
+ for (unsigned int chan = 0; chan < m_channels; chan++) {
// start offset interleaving
int i = chan;