diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2008-03-20 11:20:20 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2008-03-20 11:20:20 +0100 |
commit | 08b531446b3ab1a4c5b76bdd365b39a191187c89 (patch) | |
tree | 27fc3e6dbf8bb1ba06b1bcbedb624dbfa3cf8098 /raster | |
parent | 944af89df9b684133323352baa38178d1f5d1740 (diff) | |
download | mupdf-08b531446b3ab1a4c5b76bdd365b39a191187c89.tar.xz |
Use C comments instead of C++ comments.
Diffstat (limited to 'raster')
-rw-r--r-- | raster/imagescale.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |