commit | 6d7d636b46f6ded0d441ecdada076727c6a7ca0e | [log] [tgz] |
---|---|---|
author | Werner Lemberg <wl@gnu.org> | Sun Feb 15 12:30:42 2015 +0100 |
committer | Werner Lemberg <wl@gnu.org> | Sun Feb 15 12:30:42 2015 +0100 |
tree | 476753e99bc4b3bf744ea2557f1e94160080cee9 | |
parent | 92359bd8851448ba40167affdf5663659a7b28f0 [diff] |
[base] Clean up signedness in arithmetic functions. This makes the code more readable and reduces compiler warnings. * src/base/ftcalc.c (FT_MulDiv, FT_MulDiv_No_Round, FT_MulFix, FT_DivFix): Convert input parameters to unsigned, do the computation, then convert the result back to signed. (ft_corner_orientation): Fix casts.