From: David Kastrup Date: Wed, 28 Aug 2013 19:42:29 +0000 (+0200) Subject: Issue 3523: Remove a signed/unsigned comparison compiler warning X-Git-Tag: release/2.17.26-1~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9d6de982fe5be4786a9bc8ff71d577042dbba61f;p=lilypond.git Issue 3523: Remove a signed/unsigned comparison compiler warning It turns out that outline->n_points is a short in the current library, so using an int to store it should be plenty. --- diff --git a/lily/freetype.cc b/lily/freetype.cc index d7a5c28687..d7d4843ce8 100644 --- a/lily/freetype.cc +++ b/lily/freetype.cc @@ -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)