]> git.sesse.net Git - nageru/commitdiff
Fix a warning.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 10 Oct 2015 23:04:37 +0000 (01:04 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 10 Oct 2015 23:04:37 +0000 (01:04 +0200)
mixer.cpp

index fd3cbae4a058f9506a3b3d46aebb61dee8c6d96e..73a476a150096f44000d3016a87a8e60f23c4968 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -300,7 +300,7 @@ void Mixer::thread_func()
                output_channel[OUTPUT_LIVE].output_frame(live_frame);
 
                // Set up preview and any additional channels.
-               for (unsigned i = 1; i < theme->get_num_channels() + 2; ++i) {
+               for (int i = 1; i < theme->get_num_channels() + 2; ++i) {
                        DisplayFrame display_frame;
                        pair<EffectChain *, function<void()>> chain = theme->get_chain(i, frame / 60.0f, WIDTH, HEIGHT);  // FIXME: dimensions
                        display_frame.chain = chain.first;