From 65c69837295af8f114f03897163ae24ab5e0ff71 Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Fri, 23 May 2014 15:33:24 -0700 Subject: Fix x86_64 build Change-Id: I1ee387208585ae266b0e299cfa509ccdc321f025 Signed-off-by: Greg Hackmann --- core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c index 0a64938..cdb978a 100644 --- a/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c +++ b/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c @@ -152,7 +152,7 @@ void opj_mct_decode_real( #ifdef __SSE__ // Mantis BUGID: 0056291. The address must be 16-byte aligned. // TestFile: fuzz-signal_sigsegv_6e9e7f_5076_5265.pdf - if ((OPJ_UINT32)c0 % 16 == 0 && (OPJ_UINT32)c1 % 16 == 0 && (OPJ_UINT32)c2 % 16 == 0){ + if ((uintptr_t)c0 % 16 == 0 && (uintptr_t)c1 % 16 == 0 && (uintptr_t)c2 % 16 == 0){ __m128 vrv, vgu, vgv, vbu; vrv = _mm_set1_ps(1.402f); vgu = _mm_set1_ps(0.34413f); -- cgit v1.2.3