[Wconversion] Suppress warnings
Bug: 56258
Bug: 58162

Change-Id: I49f27e96b127d30a63512695bc628bd44f489229
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/libpng/+/422707
Reviewed-by: Petr Hosek <phosek@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index bbc1089..ccb816c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -8,11 +8,13 @@
   include_dirs = [ "." ]
   defines = []
 }
+
 # Must be in a config because of how GN orders flags (otherwise -Wall will
 # appear after this, and turn it back on).
 config("clang_warnings") {
   if (is_clang) {
     cflags = [
+      "-Wno-conversion",
       # libpng checks that the width is not greater than PNG_SIZE_MAX.
       # On platforms where size_t is 64-bits, this comparison will always
       # be false.
@@ -66,8 +68,6 @@
   }
 
   public_configs = [ ":libpng_config" ]
-  public_deps = [
-    "//third_party/zlib",
-  ]
+  public_deps = [ "//third_party/zlib" ]
   configs += [ ":clang_warnings" ]
 }