freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] fixes for compiler warnings


From: Graham Asher
Subject: [ft-devel] fixes for compiler warnings
Date: Mon, 7 May 2007 14:49:08 +0100

Hi FreeTypers,

I have two fixes for minor compiler warnings found when compiling FreeType
2.3.4 on Microsoft Visual C++ 6.0:

1. Change line 6217 of ttinterp.c to this (adding cast to FT_UShort):

    CUR_Func_move( &CUR.zp2, (FT_UShort)point, new_dist - cur_dist );

2. Change line 531 of aflatin.c to this (adding cast to FT_Bool):

    axis->extra_light = (FT_Bool)(FT_MulFix( axis->standard_width, scale ) <
32 + 8);

Best regards,

Graham Asher






reply via email to

[Prev in Thread] Current Thread [Next in Thread]