diff --git a/BUILD.gn b/BUILD.gn index 6b4a49b2c5f1d99c61916366a3db19db305ca87a..d984f6c601845193451568cedf4ae3ddd92f1d78 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -32,6 +32,7 @@ if (defined(ohos_lite)) { ] cflags = [ "-Wno-unused-parameter", + "-Wno-int-to-void-pointer-cast", "-Wno-incompatible-pointer-types", "-D_GNU_SOURCE", "-D_POSIX_C_SOURCE=200112",