use PRId64 for a framecnt_t printf
git-svn-id: svn://localhost/ardour2/branches/3.0@8173 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
50dc61bc2f
commit
617b66c667
@ -971,7 +971,7 @@ ARDOUR_UI::update_sample_rate (framecnt_t)
|
|||||||
(float) rate/1000.0f,
|
(float) rate/1000.0f,
|
||||||
(engine->frames_per_cycle() / (float) rate) * 1000.0f);
|
(engine->frames_per_cycle() / (float) rate) * 1000.0f);
|
||||||
} else {
|
} else {
|
||||||
snprintf (buf, sizeof (buf), _("%u kHz / %4.1f ms"),
|
snprintf (buf, sizeof (buf), _("%" PRId64 " kHz / %4.1f ms"),
|
||||||
rate/1000,
|
rate/1000,
|
||||||
(engine->frames_per_cycle() / (float) rate) * 1000.0f);
|
(engine->frames_per_cycle() / (float) rate) * 1000.0f);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user