summaryrefslogtreecommitdiff
path: root/lily/easy-notation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/easy-notation.cc')
-rw-r--r--lily/easy-notation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lily/easy-notation.cc b/lily/easy-notation.cc
index 34c0a97f78..c5d886147b 100644
--- a/lily/easy-notation.cc
+++ b/lily/easy-notation.cc
@@ -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);
}