summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-02 18:46:06 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-02 18:46:06 +0000
commite89d258be505877a6f73d36b3b84a41e4ee37ea8 (patch)
tree34ea53f24900bc7f87e207e45bffe1cea4411ec7
parent0fc58987197419b089e232c2bfd8e500ca894b06 (diff)
downloadpdfium-e89d258be505877a6f73d36b3b84a41e4ee37ea8.tar.xz
Remove -Wno-pointer-to-int-cast from fxcodec target.
Presumably, a libopenjpeg upgrade fixed third_party/libopenjpeg20/mct.c. Change-Id: I0e0e593b0cf7f32934ce45b19a54fe556b955448 Reviewed-on: https://pdfium-review.googlesource.com/39411 Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r--BUILD.gn5
1 files changed, 0 insertions, 5 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 24dfd1df59..afa83e358a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -827,11 +827,6 @@ jumbo_static_library("fxcodec") {
deps += [ "third_party:fx_tiff" ]
}
}
- if (is_posix || is_fuchsia) {
- # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
- # conversion to check that an address is 16-bit aligned (benign).
- cflags_c = [ "-Wno-pointer-to-int-cast" ]
- }
}
config("fxge_warnings") {