[psaux] Fix tracing of negative numbers.
Due to incorrect casting negative numbers were shown as very large (positive) integers on 64bit systems. * src/psaux/t1decode.c (t1_decoder_parse_charstrings) <op_none>: Use division instead of shift.
This commit is contained in:
parent
5179c89f61
commit
24cee3a8a3
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2015-10-18 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[psaux] Fix tracing of negative numbers.
|
||||
|
||||
Due to incorrect casting negative numbers were shown as very large
|
||||
(positive) integers on 64bit systems.
|
||||
|
||||
* src/psaux/t1decode.c (t1_decoder_parse_charstrings) <op_none>:
|
||||
Use division instead of shift.
|
||||
|
||||
2015-10-18 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Improve TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES (#46223).
|
||||
|
|
|
@ -669,7 +669,7 @@
|
|||
if ( large_int )
|
||||
FT_TRACE4(( " %ld", value ));
|
||||
else
|
||||
FT_TRACE4(( " %ld", Fix2Int( value ) ));
|
||||
FT_TRACE4(( " %ld", value / 65536 ));
|
||||
#endif
|
||||
|
||||
*top++ = value;
|
||||
|
|
Loading…
Reference in New Issue