X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Feasy-notation.cc;h=8838efee2dc2b849164ad97cda0d2aae92e10b5f;hb=b3f486c6772b5f6897d49f9bea5383628f13b776;hp=7931d08e482fb2e9647b53cebbc3a6bed6c63153;hpb=e42585017a01fd02f6353b994cf0c87b03a7bb2e;p=lilypond.git diff --git a/lily/easy-notation.cc b/lily/easy-notation.cc index 7931d08e48..8838efee2d 100644 --- a/lily/easy-notation.cc +++ b/lily/easy-notation.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2005--2006 Han-Wen Nienhuys + (c) 2005--2009 Han-Wen Nienhuys */ #include "note-head.hh" @@ -45,8 +45,8 @@ Note_head::brew_ez_stencil (SCM smob) else { char s[2] = "a"; - s[0] = (pit->get_notename () + 2) % 7 + 'a'; - s[0] = toupper (s[0]); + s[0] = char ((pit->get_notename () + 2) % 7 + 'a'); + s[0] = char (toupper (s[0])); charstr = scm_from_locale_string (s); }