mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 00:56:33 +01:00
fix signed/unsigned warning
This commit is contained in:
parent
5bc7c26d9b
commit
48ab542ffa
1 changed files with 4 additions and 2 deletions
|
|
@ -243,9 +243,11 @@ ArdourGraphs::draw_spectrum (Glib::RefPtr<Pango::Context> pctx, ExportAnalysisPt
|
||||||
int w, h, anw;
|
int w, h, anw;
|
||||||
const size_t width = p->width;
|
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 (3.0);
|
||||||
dashes.push_back (5.0);
|
dashes.push_back (5.0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue