aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-05-23 15:33:24 -0700
committerTsu Chiang Chuang <tsu@google.com>2014-05-29 14:21:57 -0700
commit65c69837295af8f114f03897163ae24ab5e0ff71 (patch)
tree921d9be8599e7b24bca120a5e89df893f136ac49
parent53f69a9f832bd8c8aa099c3238e22b9452f53e7a (diff)
downloadandroid_external_pdfium-65c69837295af8f114f03897163ae24ab5e0ff71.tar.gz
android_external_pdfium-65c69837295af8f114f03897163ae24ab5e0ff71.tar.bz2
android_external_pdfium-65c69837295af8f114f03897163ae24ab5e0ff71.zip
Fix x86_64 build
Change-Id: I1ee387208585ae266b0e299cfa509ccdc321f025 Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rw-r--r--core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/mct.c2
1 files changed, 1 insertions, 1 deletions
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);