]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/freetype.cc
Fix MIDI output for Kievan
[lilypond.git] / lily / freetype.cc
index fd43ac112d73546eec24b192d1eafe8b394dc738..f19b1649686225c8bc4f67b5bcf555d5a24096da 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2004--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ FT_Library freetype2_library;
 void
 init_freetype ()
 {
-  int errorcode = FT_Init_FreeType (&freetype2_library);
+  FT_Error errorcode = FT_Init_FreeType (&freetype2_library);
   if (errorcode)
     error ("cannot initialize FreeType");
 }