Index: t2gload.c =================================================================== RCS file: /cvsroot/freetype2/src/cff/t2gload.c,v retrieving revision 1.21 diff -u -r1.21 t2gload.c --- t2gload.c 2000/07/02 00:27:50 1.21 +++ t2gload.c 2000/07/04 08:06:53 @@ -598,9 +598,11 @@ if ( v >= 32 || v == 28 ) { FT_Int shift = 16; - FT_Long val; - - +#if SIZEOF_INT == 4 + FT_Int val; +#else + FT_Long val; +#endif /* this is an operand, push it on the stack */ if ( v == 28 ) { @@ -627,10 +629,17 @@ { if ( ip + 3 >= limit ) goto Syntax_Error; +#if SIZEOF_INT == 4 + val = ( (FT_Int)ip[0] << 24 ) | + ( (FT_Int)ip[1] << 16 ) | + ( (FT_Int)ip[2] << 8 ) | + ip[3]; +#else val = ( (FT_Long)ip[0] << 24 ) | ( (FT_Long)ip[1] << 16 ) | ( (FT_Long)ip[2] << 8 ) | ip[3]; +#endif ip += 4; shift = 0; }