diff options
author | David Turner <david@freetype.org> | 2000-10-11 23:39:03 +0000 |
---|---|---|
committer | David Turner <david@freetype.org> | 2000-10-11 23:39:03 +0000 |
commit | b89fb71ce6c4795d4e6c5789fe4004c21e694905 (patch) | |
tree | 9cc65c5c8e948a3aa9bf8b213c9034b19cd6d602 /src/psaux | |
parent | a7096374eeb138d78b86c07a652e0a098ae17775 (diff) | |
download | freetype2-b89fb71ce6c4795d4e6c5789fe4004c21e694905.tar.gz |
fixed a subtle 64-bit problem that only appears with
Compaq C compiler (though it's really a bug)
Diffstat (limited to 'src/psaux')
-rw-r--r-- | src/psaux/t1decode.c | 8 |
1 files 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; |