fix signed/unsigned warning
[ardour.git] / gtk2_ardour / level_meter.cc
index c8c2133230a20672cf2878a105757e1087e1c0a1..6dd8d0b2d526046bdb07c668212b1fbaad1cc0e9 100644 (file)
@@ -313,7 +313,7 @@ LevelMeterBase::setup_meters (int len, int initial_width, int thin_width)
                b[1] = UIConfiguration::instance().color ("meter background top");
                b[2] = 0x991122ff; // red highlight gradient Bot
                b[3] = 0x551111ff; // red highlight gradient Top
-               if (n < nmidi) {
+               if ((uint32_t) n < nmidi) {
                        c[0] = UIConfiguration::instance().color ("midi meter color0");
                        c[1] = UIConfiguration::instance().color ("midi meter color1");
                        c[2] = UIConfiguration::instance().color ("midi meter color2");