fix signed/unsigned warning
This commit is contained in:
parent
5bc7c26d9b
commit
48ab542ffa
@ -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…
Reference in New Issue
Block a user