From 35244064bbb2a853fb5c08898e8a74a7ec489aaa Mon Sep 17 00:00:00 2001 From: David Monniaux Date: Fri, 1 Feb 2019 15:45:39 +0100 Subject: block tail calls etc. --- test/monniaux/jpeg-6b/jquant2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/monniaux/jpeg-6b/jquant2.c') diff --git a/test/monniaux/jpeg-6b/jquant2.c b/test/monniaux/jpeg-6b/jquant2.c index 32b2aa88..af601e33 100644 --- a/test/monniaux/jpeg-6b/jquant2.c +++ b/test/monniaux/jpeg-6b/jquant2.c @@ -529,9 +529,9 @@ compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor) } } - cinfo->colormap[0][icolor] = (JSAMPLE) DIVISION((c0total + (total>>1)), total); - cinfo->colormap[1][icolor] = (JSAMPLE) DIVISION((c1total + (total>>1)), total); - cinfo->colormap[2][icolor] = (JSAMPLE) DIVISION((c2total + (total>>1)), total); + cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); + cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total); + cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total); } -- cgit