diff --git a/samgr_endpoint/BUILD.gn b/samgr_endpoint/BUILD.gn index a1a2453a3c6c09cfda57c4102e5d78f62970270b..beb2cc155f35ba7f807609b4665671358696b165 100644 --- a/samgr_endpoint/BUILD.gn +++ b/samgr_endpoint/BUILD.gn @@ -46,6 +46,7 @@ if (!enable_ohos_systemabilitymgr_samgr_lite_rpc_mini) { "-fPIC", "-Wall", ] + cflags += [ "-Wno-int-conversion" ] if (ohos_kernel_type == "linux") { defines = [