fix signed/unsigned warning

This commit is contained in:
Paul Davis 2022-06-21 17:32:27 -06:00
parent 5bc7c26d9b
commit 48ab542ffa
1 changed files with 4 additions and 2 deletions

View File

@ -243,9 +243,11 @@ ArdourGraphs::draw_spectrum (Glib::RefPtr<Pango::Context> pctx, ExportAnalysisPt
int w, h, anw;
const size_t width = p->width;
assert (height == p->spectrum[0].size ());
typedef std::vector<double> Dashes;
Dashes dashes;
assert ((Dashes::size_type) height == p->spectrum[0].size ());
std::vector<double> dashes;
dashes.push_back (3.0);
dashes.push_back (5.0);