commit | eb2723487f66d3e81d41b32948a85c247b3c9cee | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Fri Jan 21 00:54:14 2022 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 21 00:54:14 2022 +0000 |
tree | bba3a46a4b73930ea8de184e246198497fc1a178 | |
parent | e08973f07eac840c09b8bfa7a75d2df56d015d88 [diff] |
Enable -Wshorten-64-to-32 for core/fpdfapi/cmaps No code changes as it is already clean. Change-Id: Ic741b2944a94562d7b7c423e0208d1f9ebdd3e70 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/89670 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fpdfapi/cmaps/BUILD.gn b/core/fpdfapi/cmaps/BUILD.gn index 9a64298..8fbf83a 100644 --- a/core/fpdfapi/cmaps/BUILD.gn +++ b/core/fpdfapi/cmaps/BUILD.gn
@@ -70,7 +70,11 @@ "fpdf_cmaps.cpp", "fpdf_cmaps.h", ] + cflags = [] configs += [ "../../../:pdfium_strict_config" ] deps = [ "../../fxcrt" ] visibility = [ "../../../*" ] + if (is_clang) { + cflags += [ "-Wshorten-64-to-32" ] + } }