Fixing gcc warnings on Solaris.
This commit is contained in:
parent
fd9777e9ed
commit
35ca3426eb
|
@ -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…
Reference in New Issue