diff options
author | Werner Lemberg <wl@gnu.org> | 2015-06-30 09:46:39 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2015-06-30 09:46:39 +0200 |
commit | eb1bba9be421ebf2eb95cfb9c6129836b96009fa (patch) | |
tree | df126023f26370f414f9a6faa5dc3f279784c372 /src/base/ftoutln.c | |
parent | 5aaabb44bcfe95f791008669bf5ef0ffdce5057c (diff) | |
download | freetype2-eb1bba9be421ebf2eb95cfb9c6129836b96009fa.tar.gz |
Fix some clang compiler warnings.
* src/base/ftoutln.c (FT_Outline_EmboldenXY), src/cff/cf2intrp.c
(cf2_interpT2CharString), src/truetype/ttgload.c
(load_truetype_glyph), src/truetype/ttgxvar.c (tt_handle_deltas),
src/truetype/ttinterp.c (Ins_INSTCTRL): Fix signedness issues.
Diffstat (limited to 'src/base/ftoutln.c')
-rw-r--r-- | src/base/ftoutln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/ftoutln.c b/src/base/ftoutln.c index 066eb7e9c..f71a1e7c2 100644 --- a/src/base/ftoutln.c +++ b/src/base/ftoutln.c @@ -946,7 +946,7 @@ /* compute incoming normalized vector */ in.x = v_cur.x - v_prev.x; in.y = v_cur.y - v_prev.y; - l_in = FT_Vector_NormLen( &in ); + l_in = (FT_Fixed)FT_Vector_NormLen( &in ); for ( n = first; n <= last; n++ ) { @@ -958,7 +958,7 @@ /* compute outgoing normalized vector */ out.x = v_next.x - v_cur.x; out.y = v_next.y - v_cur.y; - l_out = FT_Vector_NormLen( &out ); + l_out = (FT_Fixed)FT_Vector_NormLen( &out ); d = FT_MulFix( in.x, out.x ) + FT_MulFix( in.y, out.y ); |