* src/base/ftcalc.c (FT_DivFix): Fix embarrassing typo.

Bug introduced 2017-05-28.
This commit is contained in:
Werner Lemberg 2017-06-10 11:03:41 +02:00
parent 9038837ee2
commit 2c4fba9c91
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-06-10 Werner Lemberg <wl@gnu.org>
* src/base/ftcalc.c (FT_DivFix): Fix embarrassing typo.
Bug introduced 2017-05-28.
2017-06-09 Werner Lemberg <wl@gnu.org>
[cff, truetype] Integer overflows.

View File

@ -262,7 +262,7 @@
b = (FT_UInt64)b_;
FT_MOVE_SIGN( a_, a, s );
FT_MOVE_SIGN( b_, a, s );
FT_MOVE_SIGN( b_, b, s );
q = b > 0 ? ( ( a << 16 ) + ( b >> 1 ) ) / b
: 0x7FFFFFFFUL;