]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3523: Remove a signed/unsigned comparison compiler warning
authorDavid Kastrup <dak@gnu.org>
Wed, 28 Aug 2013 19:42:29 +0000 (21:42 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 3 Sep 2013 07:35:14 +0000 (09:35 +0200)
It turns out that outline->n_points is a short in the current library,
so using an int to store it should be plenty.

lily/freetype.cc

index d7a5c28687fe684c4e73e3f5ff38b1c9d3cd8833..d7d4843ce8be17504b0e132b1fbfde45d71b04d1 100644 (file)
@@ -112,7 +112,7 @@ ly_FT_get_glyph_outline (FT_Face const &face, size_t signed_idx)
   SCM out = SCM_EOL;
   Offset lastpos;
   Offset firstpos;
-  ssize j = 0;
+  int j = 0;
   while (j < outline->n_points)
     {
       if (j == 0)