forked from minhngoc25a/freetype2
fixed a subtle 64-bit problem that only appears with
Compaq C compiler (though it's really a bug)
This commit is contained in:
parent
a7096374ee
commit
b89fb71ce6
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue