From 9d6de982fe5be4786a9bc8ff71d577042dbba61f Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 28 Aug 2013 21:42:29 +0200 Subject: [PATCH] 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. --- lily/freetype.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5