From: Mike Solomon Date: Thu, 16 Jun 2011 08:33:43 +0000 (+0200) Subject: Give a double to the pow function instead of an integer. X-Git-Tag: release/2.15.2-1~2^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=551366717e02aa0bbcde43cdd301b32a1b484728;p=lilypond.git Give a double to the pow function instead of an integer. This allows lilypond master to compile correctly on all systems. --- diff --git a/lily/multi-measure-rest.cc b/lily/multi-measure-rest.cc index 812fd100e4..69b71c9a31 100644 --- a/lily/multi-measure-rest.cc +++ b/lily/multi-measure-rest.cc @@ -243,7 +243,7 @@ Multi_measure_rest::church_rest (Grob *me, Font_metric *musfont, int measures, do { i++; - length = int (pow (2, -i)); + length = int (pow (2.0, -i)); } while (i <= 0 && !(l >= length && mdl >= longest_church_rest - i));