[Wconversion] Suppress warnings

Bug: 56258
Bug: 58162

Change-Id: Ib9ec81a2d95d0b02ca1a7ccf75769bc2d516cd3a
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/wayland/+/422704
Reviewed-by: Petr Hosek <phosek@google.com>
Reviewed-by: Shai Barack <shayba@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index da242ac..a0eaf66 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -36,15 +36,11 @@
 }
 
 group("client") {
-  public_deps = [
-    ":client_static",
-  ]
+  public_deps = [ ":client_static" ]
 }
 
 group("server") {
-  public_deps = [
-    ":server_static",
-  ]
+  public_deps = [ ":server_static" ]
 }
 
 group("client_headers") {
@@ -75,9 +71,7 @@
 
 executable("scanner") {
   output_name = "wayland-scanner"
-  deps = [
-    ":scanner_static",
-  ]
+  deps = [ ":scanner_static" ]
 }
 
 config("common_config") {
@@ -118,6 +112,7 @@
       # element, a warning is raised.
       "-Wno-unknown-warning-option",
       "-Wno-sizeof-array-div",
+      "-Wno-conversion",
     ]
   }
 }
@@ -142,29 +137,17 @@
 
 source_set("client_static") {
   visibility = [ ":*" ]
-  sources = [
-    "src/wayland-client.c",
-  ]
-  deps = [
-    ":common_static",
-  ]
-  public_deps = [
-    ":client_headers",
-  ]
+  sources = [ "src/wayland-client.c" ]
+  deps = [ ":common_static" ]
+  public_deps = [ ":client_headers" ]
   configs += [ ":private_config" ]
 }
 
 source_set("server_static") {
   visibility = [ ":*" ]
-  sources = [
-    "src/wayland-server.c",
-  ]
-  deps = [
-    ":common_static",
-  ]
-  public_deps = [
-    ":server_headers",
-  ]
+  sources = [ "src/wayland-server.c" ]
+  deps = [ ":common_static" ]
+  public_deps = [ ":server_headers" ]
   configs += [ ":private_config" ]
 }
 
@@ -231,9 +214,7 @@
     "src/wayland-util.h",
     "src/wayland-version.h",
   ]
-  outputs = [
-    "${target_gen_dir}/common/{{source_file_part}}",
-  ]
+  outputs = [ "${target_gen_dir}/common/{{source_file_part}}" ]
 }
 
 copy("headers_client") {
@@ -242,9 +223,7 @@
     "src/wayland-client-core.h",
     "src/wayland-client.h",
   ]
-  outputs = [
-    "${target_gen_dir}/client/{{source_file_part}}",
-  ]
+  outputs = [ "${target_gen_dir}/client/{{source_file_part}}" ]
 }
 
 copy("headers_server") {
@@ -253,7 +232,5 @@
     "src/wayland-server-core.h",
     "src/wayland-server.h",
   ]
-  outputs = [
-    "${target_gen_dir}/server/{{source_file_part}}",
-  ]
+  outputs = [ "${target_gen_dir}/server/{{source_file_part}}" ]
 }