[1.5] Remove simple warning about C++ style comments
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 17 Mar 2014 16:03:07 +0000 (16:03 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 17 Mar 2014 16:03:07 +0000 (16:03 +0000)
libopenjpeg/jp2.c
libopenjpeg/t1_generate_luts.c

index a53e3f5c1b95f762af194b08e42bf1732900de43..37faec02a759438f3e1a04c23d864f6dca999775 100644 (file)
@@ -175,7 +175,7 @@ static opj_bool jp2_read_boxhdr(opj_common_ptr cinfo, opj_cio_t *cio, opj_jp2_bo
        }
        if (box->length < 0) {
                opj_event_msg(cinfo, EVT_ERROR, "Integer overflow in box->length\n");
-               return OPJ_FALSE; // TODO: actually check jp2_read_boxhdr's return value
+               return OPJ_FALSE; /* TODO: actually check jp2_read_boxhdr's return value */
        }
        
        return OPJ_TRUE;
index 39880414fb6bde1df07926deb90153a51bfa90fe..34f0fca756d00f3315916b00185c63838b231440 100644 (file)
@@ -194,7 +194,7 @@ int main(){
 
        printf("/* This file was automatically generated by t1_generate_luts.c */\n\n");
 
-       // lut_ctxno_zc
+       /* lut_ctxno_zc */
        for (j = 0; j < 4; ++j) {
                for (i = 0; i < 256; ++i) {
                        int orient = j;