diff options
Diffstat (limited to 'include/fitz/math.h')
-rw-r--r-- | include/fitz/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fitz/math.h b/include/fitz/math.h index acefeb50..bcbfee00 100644 --- a/include/fitz/math.h +++ b/include/fitz/math.h @@ -1,7 +1,7 @@ /* multiply 8-bit fixpoint (0..1) so that 0*0==0 and 255*255==255 */ static inline unsigned char fz_mul255(unsigned char a, unsigned char b) { - return ((a + 1) * b) >> 8; + return ((a + 1) * b) >> 8; } /* divide and floor towards -inf */ |