From 18ab99fa7d8b159774a560f85b891ca339378dd7 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 11 Oct 2000 23:39:03 +0000 Subject: [PATCH] fixed a subtle 64-bit problem that only appears with Compaq C compiler (though it's really a bug) --- src/psaux/t1decode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;