]> git.donarmstrong.com Git - lilypond.git/commitdiff
printf correctness.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 20 May 2007 23:21:34 +0000 (20:21 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 20 May 2007 23:21:34 +0000 (20:21 -0300)
lily/page-spacing-result.cc

index 7e42dc96cb89b9036962c0bfdbdd93f4186e5d23..72164cc2bd7758c405d89a91dbba03cd83e6b497 100644 (file)
@@ -47,6 +47,6 @@ Page_spacing_result::print () const
 {
   printf ("penalty %lf, demerits %lf\n" , penalty_, demerits_);
   for (vsize i = 0; i < page_count (); i++)
-    printf (" %d:  #sys=%d, force=%lf\n", i, systems_per_page_[i],
+    printf (" %d:  #sys=%d, force=%lf\n", int (i), int (systems_per_page_[i]),
            force_[i]);
 }