Fixing gcc warnings on Solaris.

david-pic-changes
Werner Lemberg 25 years ago
parent fd9777e9ed
commit 35ca3426eb
  1. 2
      src/cff/t2load.c
  2. 6
      src/cid/cidload.c
  3. 2
      src/cid/cidparse.c
  4. 6
      src/type1z/z1load.c
  5. 2
      src/type1z/z1parse.c

@ -200,7 +200,7 @@
if ( index && index->count > element )
{
/* compute start and end offsets */
FT_ULong off1, off2;
FT_ULong off1, off2 = 0;
off1 = index->offsets[element];

@ -267,9 +267,9 @@
static
int is_alpha( char c )
{
return ( isalnum( c ) ||
c == '.' ||
c == '_' );
return ( isalnum( (int)c ) ||
c == '.' ||
c == '_' );
}

@ -439,7 +439,7 @@
{
FT_Long result = 0;
FT_Byte* cur = *cursor;
FT_Byte c, d;
FT_Byte c = '\0', d;
for ( ; cur < limit; cur++ )

@ -931,9 +931,9 @@
static
int is_alpha( char c )
{
return ( isalnum( c ) ||
( c == '.' ) ||
( c == '_' ) );
return ( isalnum( (int)c ) ||
( c == '.' ) ||
( c == '_' ) );
}

@ -451,7 +451,7 @@
{
FT_Long result = 0;
FT_Byte* cur = *cursor;
FT_Byte c, d;
FT_Byte c = '\0', d;
for ( ; cur < limit; cur++ )

Loading…
Cancel
Save