diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-10-27 06:57:02 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-10-27 06:57:02 +0200 |
commit | 3506472774c72aae2751ddbd54e4c62d82156410 (patch) | |
tree | 656b48ebd0a8a1378f13b6ba68ca46d90f2ed6ac /include/fitz | |
parent | 434ccadcfc04b02c9ff24166358e859a410288c8 (diff) | |
download | mupdf-3506472774c72aae2751ddbd54e4c62d82156410.tar.xz |
clean up image rendering
Diffstat (limited to 'include/fitz')
-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 */ |