mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
incorrect printf argument type
This commit is contained in:
parent
256eb2d1d3
commit
0d41f87f4b
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ TempoCurve::set_position (samplepos_t sample, samplepos_t end_sample)
|
|||
_curve->set (*points);
|
||||
|
||||
char buf[10];
|
||||
snprintf (buf, sizeof (buf), "%.3f/%.0f", _tempo.note_types_per_minute(), _tempo.note_type());
|
||||
snprintf (buf, sizeof (buf), "%.3f/%d", _tempo.note_types_per_minute(), _tempo.note_type());
|
||||
_start_text->set (buf);
|
||||
snprintf (buf, sizeof (buf), "%.3f", _tempo.end_note_types_per_minute());
|
||||
_end_text->set (buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue