]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/source-file.cc
Guile-1.9 compatibility fixes.
[lilypond.git] / lily / source-file.cc
index 1775a39759c6dae4ec240c93b76a0d0069fc21dd..b01676355840a1877bacc3b9439809cb195ce496 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2010 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 1997--2011 Jan Nieuwenhuizen <janneke@gnu.org>
   Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -48,7 +48,7 @@ Source_file::load_stdin ()
   characters_.clear ();
   int c;
   while ((c = fgetc (stdin)) != EOF)
-    characters_.push_back (c);
+    characters_.push_back ((char)c);
 }
 
 /*