Commit 18ab99fa authored by David Turner's avatar David Turner
Browse files

fixed a subtle 64-bit problem that only appears with

Compaq C compiler (though it's really a bug)
parent 47dcfcce
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment