diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2015-10-10 21:03:44 +0200 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2015-10-10 21:03:44 +0200 |
| commit | ab8929262a66852e8b17fb63b79bca1671a77a1e (patch) | |
| tree | 643f18f9cf0affc63c6a425768c8e50abbf90932 /src/lib/openjp2/mct.c | |
| parent | dc869c2985c8ee346089e61414899ae7aa2e00f5 (diff) | |
Fix an issue with parenthesis
Diffstat (limited to 'src/lib/openjp2/mct.c')
| -rw-r--r-- | src/lib/openjp2/mct.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/openjp2/mct.c b/src/lib/openjp2/mct.c index 9bb01da4..6b678345 100644 --- a/src/lib/openjp2/mct.c +++ b/src/lib/openjp2/mct.c @@ -82,9 +82,9 @@ void opj_mct_encode( OPJ_SIZE_T i; const OPJ_SIZE_T len = n; /* buffer are aligned on 16 bytes */ - assert( (uintptr_t)c0 & 16 == 0 ); - assert( (uintptr_t)c1 & 16 == 0 ); - assert( (uintptr_t)c2 & 16 == 0 ); + assert( ((uintptr_t)c0 & 0xf) == 0 ); + assert( ((uintptr_t)c1 & 0xf) == 0 ); + assert( ((uintptr_t)c2 & 0xf) == 0 ); for(i = 0; i < (len & ~3U); i += 4) { __m128i y, u, v; |
