]> git.donarmstrong.com Git - lilypond.git/commitdiff
Shut up some warnings from gcc 4.3.
authorJoe Neeman <joeneeman@gmail.com>
Fri, 18 Apr 2008 08:38:08 +0000 (18:38 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Fri, 18 Apr 2008 08:38:08 +0000 (18:38 +1000)
lily/include/lily-guile.hh

index 2265e249c29ff6f8d926c8b738c55a29154b88ca..30288179980b59882737786f655b922c08d1948f 100644 (file)
@@ -101,7 +101,7 @@ inline bool ly_is_equal (SCM x, SCM y)
 }
 
 inline bool ly_scm2bool (SCM x) { return SCM_NFALSEP (x); }
-inline char ly_scm2char (SCM x) { return SCM_CHAR (x); }
+inline char ly_scm2char (SCM x) { return (char)SCM_CHAR (x); }
 inline SCM ly_bool2scm (bool x) { return SCM_BOOL (x); }
 
 inline SCM ly_append2 (SCM x1, SCM x2)