From cab3fc09de98bc5cec63fda421e78268bec1d816 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 22 Aug 2016 09:41:28 -0400 Subject: [PATCH] fix signed/unsigned warning --- gtk2_ardour/level_meter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/level_meter.cc b/gtk2_ardour/level_meter.cc index c8c2133230..6dd8d0b2d5 100644 --- a/gtk2_ardour/level_meter.cc +++ b/gtk2_ardour/level_meter.cc @@ -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"); -- 2.30.2