From 08b531446b3ab1a4c5b76bdd365b39a191187c89 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Thu, 20 Mar 2008 11:20:20 +0100 Subject: Use C comments instead of C++ comments. --- raster/imagescale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'raster') diff --git a/raster/imagescale.c b/raster/imagescale.c index bbe20565..9ff58d24 100644 --- a/raster/imagescale.c +++ b/raster/imagescale.c @@ -36,7 +36,7 @@ static inline void srown(byte * restrict src, byte * restrict dst, int w, int de dst[k] = sum[k] / left; } -// special-case common 1-5 components - the compiler optimizes this +/* special-case common 1-5 components - the compiler optimizes this */ static inline void srowc(byte * restrict src, byte * restrict dst, int w, int denom, int n) { int invdenom = (1<<16) / denom; @@ -54,7 +54,7 @@ static inline void srowc(byte * restrict src, byte * restrict dst, int w, int de for (x = 0; x < w; x++) { sum1 += src[x * n + 0]; - // the compiler eliminates these if-tests + /* the compiler eliminates these if-tests */ if (n >= 2) sum2 += src[x * n + 1]; if (n >= 3) -- cgit v1.2.3