summaryrefslogtreecommitdiffstats
path: root/src/autofit/afwarp.c
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2015-06-09 16:35:08 -0700
committerAbhisek Devkota <ciwrl@cyanogenmod.com>2015-08-19 11:42:11 -0700
commita3a6685e80688af254c5c23a62a2f3b0bcef5e5f (patch)
tree7e67208cafc4572557e8d10469fb5dc173ca2edf /src/autofit/afwarp.c
parent6bb07037be23a1523b3af5b1be5432bd4ccf22b7 (diff)
downloadandroid_external_freetype-stable/cm-11.0-XNG3C.tar.gz
android_external_freetype-stable/cm-11.0-XNG3C.tar.bz2
android_external_freetype-stable/cm-11.0-XNG3C.zip
Update to freetype 2.6.0stable/cm-11.0-XNG3C
Bug 18751561 RM-154 Change-Id: Ia8c081f8fd38a1f78c72d30234c5ace8cfffe6a9 (cherry picked from commit c341565733345bef8ebe68db3c175301afe4ec97)
Diffstat (limited to 'src/autofit/afwarp.c')
-rw-r--r--src/autofit/afwarp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/autofit/afwarp.c b/src/autofit/afwarp.c
index 34a97ff..59af4f0 100644
--- a/src/autofit/afwarp.c
+++ b/src/autofit/afwarp.c
@@ -4,7 +4,7 @@
/* */
/* Auto-fitter warping algorithm (body). */
/* */
-/* Copyright 2006, 2007, 2011 by */
+/* Copyright 2006-2015 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -76,10 +76,10 @@
FT_Pos xx2,
AF_WarpScore base_distort,
AF_Segment segments,
- FT_UInt num_segments )
+ FT_Int num_segments )
{
FT_Int idx_min, idx_max, idx0;
- FT_UInt nn;
+ FT_Int nn;
AF_WarpScore scores[65];
@@ -171,7 +171,7 @@
FT_Fixed org_scale;
FT_Pos org_delta;
- FT_UInt nn, num_points, num_segments;
+ FT_Int nn, num_points, num_segments;
FT_Int X1, X2;
FT_Int w;