summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/sparse_array.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-09-19 18:22:07 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-09-19 18:22:07 +0200
commitd415723fd9f2ee415e506e94ee8be8127680fdcd (patch)
tree88407f7c05afc142395e2f24a114ad7de6ddfdb8 /src/lib/openjp2/sparse_array.c
parentce199f42e77f972d6ee782b63492f6d861891053 (diff)
Replace C++ style comments by C ones
Diffstat (limited to 'src/lib/openjp2/sparse_array.c')
-rw-r--r--src/lib/openjp2/sparse_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/openjp2/sparse_array.c b/src/lib/openjp2/sparse_array.c
index 67212d28..9d86eb6e 100644
--- a/src/lib/openjp2/sparse_array.c
+++ b/src/lib/openjp2/sparse_array.c
@@ -168,8 +168,8 @@ static OPJ_BOOL opj_sparse_array_int32_read_or_write(
+
(x - x0) * buf_col_stride;
if (x_incr == 4) {
- // Same code as general branch, but the compiler
- // can have an efficient memcpy()
+ /* Same code as general branch, but the compiler */
+ /* can have an efficient memcpy() */
for (j = 0; j < y_incr; j++) {
memcpy(dest_ptr, src_ptr, sizeof(OPJ_INT32) * x_incr);
dest_ptr += buf_line_stride;