]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tempo-performer.cc
(INSTALL): Assign INSTALL_PY
[lilypond.git] / lily / tempo-performer.cc
index 55cc6f877d213a3697da44b736ec329c621aa96b..8919805e3a3f14bca3bb096746bdf90817024220 100644 (file)
@@ -49,7 +49,7 @@ Tempo_performer::process_music ()
 
       Rational r = (d->get_length () / Moment (Rational (1, 4)) * Moment (scm_to_int (met))).main_part_;
 
-      audio_ = new Audio_tempo (int (r));
+      audio_ = new Audio_tempo (r.to_int ());
 
       Audio_element_info info (audio_, tempo_event_);
       announce_element (info);