* src/truetype/ttinterp.c (Project_x, Project_y): Remove compiler


			
			
				david-pic-changes
			
			
		
Werner Lemberg 18 years ago
parent 406d25f379
commit c6a14086d2
  1. 8
      ChangeLog
  2. 5
      src/bdf/bdfdrivr.c
  3. 5
      src/pcf/pcfread.c
  4. 4
      src/truetype/ttinterp.c

@ -1,3 +1,11 @@
2007-02-12 Werner Lemberg <wl@gnu.org>
* src/truetype/ttinterp.c (Project_x, Project_y): Remove compiler
warnings.
* src/pcf/pcfread.c (pcf_interpret_style), src/bdf/bdfdrivr.c
(bdf_interpret_style): Ditto.
2007-02-12 David Turner <david@freetype.org>
Simplify projection and dual-projection code interface.

@ -248,7 +248,7 @@ THE SOFTWARE.
if ( len == 0 )
{
strings[0] = "Regular";
strings[0] = (char *)"Regular";
lengths[0] = ft_strlen( strings[0] );
len = lengths[0] + 1;
}
@ -265,9 +265,10 @@ THE SOFTWARE.
for ( nn = 0; nn < 4; nn++ )
{
char* src = strings[nn];
int len = lengths[nn];
len = lengths[nn];
if ( src == NULL )
continue;

@ -1039,7 +1039,7 @@ THE SOFTWARE.
if ( len == 0 )
{
strings[0] = "Regular";
strings[0] = (char *)"Regular";
lengths[0] = ft_strlen( strings[0] );
len = lengths[0] + 1;
}
@ -1056,9 +1056,10 @@ THE SOFTWARE.
for ( nn = 0; nn < 4; nn++ )
{
char* src = strings[nn];
int len = lengths[nn];
len = lengths[nn];
if ( src == NULL )
continue;

@ -1858,9 +1858,9 @@
{
FT_F26Dot6 val;
FT_UNUSED_EXEC;
if ( distance >= 0 )
{
val = distance + compensation + 63;
@ -2217,6 +2217,7 @@
FT_Pos dy )
{
FT_UNUSED_EXEC;
FT_UNUSED( dy );
return dx;
}
@ -2243,6 +2244,7 @@
FT_Pos dy )
{
FT_UNUSED_EXEC;
FT_UNUSED( dx );
return dy;
}

Loading…
Cancel
Save