From 48ab542ffad9d0f0d2b6831bcc3f8fcde061b877 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Jun 2022 17:32:27 -0600 Subject: [PATCH] fix signed/unsigned warning --- gtk2_ardour/export_analysis_graphs.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/export_analysis_graphs.cc b/gtk2_ardour/export_analysis_graphs.cc index 97190260f4..45d231e575 100644 --- a/gtk2_ardour/export_analysis_graphs.cc +++ b/gtk2_ardour/export_analysis_graphs.cc @@ -243,9 +243,11 @@ ArdourGraphs::draw_spectrum (Glib::RefPtr pctx, ExportAnalysisPt int w, h, anw; const size_t width = p->width; - assert (height == p->spectrum[0].size ()); + typedef std::vector Dashes; + Dashes dashes; + + assert ((Dashes::size_type) height == p->spectrum[0].size ()); - std::vector dashes; dashes.push_back (3.0); dashes.push_back (5.0);