mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -971,7 +971,7 @@ ARDOUR_UI::update_sample_rate (framecnt_t)
|
|||
(float) rate/1000.0f,
|
||||
(engine->frames_per_cycle() / (float) rate) * 1000.0f);
|
||||
} else {
|
||||
snprintf (buf, sizeof (buf), _("%u kHz / %4.1f ms"),
|
||||
snprintf (buf, sizeof (buf), _("%" PRId64 " kHz / %4.1f ms"),
|
||||
rate/1000,
|
||||
(engine->frames_per_cycle() / (float) rate) * 1000.0f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue