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:
Paul Davis 2010-12-03 23:15:05 +00:00
parent 50dc61bc2f
commit 617b66c667

View File

@ -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);
}