From: fred Date: Sun, 24 Mar 2002 19:37:42 +0000 (+0000) Subject: lilypond-0.0.46.jcn1 X-Git-Tag: release/1.5.59~5049 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e2ba52662169c20240a7462202a50ffe677cb03d;p=lilypond.git lilypond-0.0.46.jcn1 --- diff --git a/lib/duration-convert.cc b/lib/duration-convert.cc index 80141d17d5..8ec7e2527d 100644 --- a/lib/duration-convert.cc +++ b/lib/duration-convert.cc @@ -198,7 +198,7 @@ Duration_convert::ticks2standardised_dur( int ticks_i ) if ( mom == upper_mom ) // don-t miss last (sic) return upper_dur; if ( ( mom >= lower_mom ) && ( mom <= upper_mom ) ) { - warning( String( "duration not exact: " ) + String( (Real)mom ) , 0 ); + warning( String( "duration not exact: " ) + String( (Real)mom ), 0 ); if ( abs( mom - lower_mom ) < abs( mom - upper_mom ) ) return lower_dur; else diff --git a/lib/source-file.cc b/lib/source-file.cc index 28ede975d6..43fe9c53a3 100644 --- a/lib/source-file.cc +++ b/lib/source-file.cc @@ -153,7 +153,7 @@ Source_file::map() data_caddr_ = (caddr_t)mmap( (void*)0, size_off_, PROT_READ, MAP_SHARED, fildes_i_, 0 ); if ( (int)data_caddr_ == -1 ) - warning( String( "can't map: " ) + name_str_ + String( ": " ) + strerror( errno ), 0); + warning( String( "can't map: " ) + name_str_ + String( ": " ) + strerror( errno ), 0 ); } String @@ -168,7 +168,7 @@ Source_file::open() fildes_i_ = ::open( name_str_, O_RDONLY ); if ( fildes_i_ == -1 ) { - warning( String( "can't open: " ) + name_str_ + String( ": " ) + strerror( errno ), 0 ); + warning( String( "can't open: " ) + name_str_ + String( ": " ) + strerror( errno ), 0); return; }