From: fred Date: Sun, 24 Mar 2002 20:06:32 +0000 (+0000) Subject: lilypond-0.1.48 X-Git-Tag: release/1.5.59~3393 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6172b235b701a8d01ec92aea319ed7b9efc5a75f;p=lilypond.git lilypond-0.1.48 --- diff --git a/lib/duration-convert.cc b/lib/duration-convert.cc index 49db74195d..5947216cd5 100644 --- a/lib/duration-convert.cc +++ b/lib/duration-convert.cc @@ -114,8 +114,8 @@ Duration_convert::mom2_dur (Moment mom) // Moment as_plet_mom = mom / dur.mom (); Moment as_plet_mom = mom / dur.length (); as_plet_mom *= dur.plet_.mom (); - long num = as_plet_mom.numerator ().as_long (); - long den = as_plet_mom.denominator ().as_long (); + long num = as_plet_mom.num (); + long den = as_plet_mom.den (); dur.set_plet (num, den); return dur; } diff --git a/lily/main.cc b/lily/main.cc index 6f3b7b07e4..66ae3e649c 100644 --- a/lily/main.cc +++ b/lily/main.cc @@ -6,6 +6,7 @@ (c) 1997 Han-Wen Nienhuys */ +#include #include #include #include "proto.hh"