diff options
Diffstat (limited to 'freetype/src/autofit/afangles.c')
-rw-r--r-- | freetype/src/autofit/afangles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freetype/src/autofit/afangles.c b/freetype/src/autofit/afangles.c index f8b095bef..1b1eb31fe 100644 --- a/freetype/src/autofit/afangles.c +++ b/freetype/src/autofit/afangles.c @@ -5,7 +5,7 @@ /* Routines used to compute vector angles with limited accuracy */ /* and very high speed. It also contains sorting routines (body). */ /* */ -/* Copyright 2003-2006, 2011-2012 by */ +/* Copyright 2003-2015 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -259,7 +259,7 @@ sum += table[j].org; table[j].org = 0; } - table[cur_idx].org = sum / j; + table[cur_idx].org = sum / (FT_Pos)j; if ( i < *count - 1 ) { |