From: Even Rouault Date: Tue, 19 Sep 2017 10:13:34 +0000 (+0200) Subject: Fix compilation with AppleClang 8.1.0.8020042 (#1020) X-Git-Tag: v2.3.0~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18f6696372f4c32334385f8dcc8d39ad8ac24601;p=openjpeg Fix compilation with AppleClang 8.1.0.8020042 (#1020) --- diff --git a/src/lib/openjp2/j2k.c b/src/lib/openjp2/j2k.c index 0dad1503..3e2bb749 100644 --- a/src/lib/openjp2/j2k.c +++ b/src/lib/openjp2/j2k.c @@ -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 */ }