diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c index 8bff10908..d17f9d79e 100644 --- a/src/psaux/t1decode.c +++ b/src/psaux/t1decode.c @@ -482,10 +482,10 @@ goto Syntax_Error; } - value = ( (FT_Long)ip[0] << 24 ) | - ( (FT_Long)ip[1] << 16 ) | - ( (FT_Long)ip[2] << 8 ) | - ip[3]; + value = (FT_Int32)( ((FT_Long)ip[0] << 24) | + ((FT_Long)ip[1] << 16) | + ((FT_Long)ip[2] << 8 ) | + ip[3] ); ip += 4; break;