Fix compilation with AppleClang 8.1.0.8020042 (#1020)
authorEven Rouault <even.rouault@spatialys.com>
Tue, 19 Sep 2017 10:13:34 +0000 (12:13 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Tue, 19 Sep 2017 10:13:34 +0000 (12:13 +0200)
src/lib/openjp2/j2k.c

index 0dad150323625d0301aa9925ec6312bc7ac73fb9..3e2bb749d9640dc02bfd85fe51138a6ee8fc2eae 100644 (file)
@@ -9241,7 +9241,7 @@ OPJ_BOOL opj_j2k_set_decode_area(opj_j2k_t *p_j2k,
     OPJ_UINT32 it_comp;
 
     if (p_j2k->m_cp.tw == 1 && p_j2k->m_cp.th == 1 &&
-            &p_j2k->m_cp.tcps[0].m_data != NULL) {
+            p_j2k->m_cp.tcps[0].m_data != NULL) {
         /* In the case of a single-tiled image whose codestream we have already */
         /* ingested, go on */
     }