]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lookup.cc
Doc-es: adjust lsr versions.
[lilypond.git] / lily / lookup.cc
index 207dd06bf444e242740ae7dc5ac11cada8afad2d..aec43fe8fb9eb41c7a763a7a6ab1b0674e928c5a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   Jan Nieuwenhuizen <janneke@gnu.org>
 
@@ -401,7 +401,7 @@ Lookup::slur (Bezier curve, Real curvethick, Real linethick,
               Bezier back_dash, curve_dash;
               Real seg_length = (back_segment.control_[3] - 
                                  back_segment.control_[0]).length ();
-              int pattern_count = seg_length / dash_period;
+              int pattern_count = (int) (seg_length / dash_period);
               Real pattern_length = 1.0 / (pattern_count + dash_fraction);
               Real start_t, end_t;
               for (int p = 0; p <= pattern_count; p++)