diff --git a/BUILD.gn b/BUILD.gn index 2d857a7..78c6525 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -63,6 +63,7 @@ ohos_executable("syscap_tool_bin") { } if (defined(ohos_lite) && ohos_kernel_type == "liteos_m") { cflags = [ "-DPATH_MAX=1024" ] + cflags += [ "-Wno-int-conversion" ] } sources = [ "./src/main.c" ] sources += sources_platform_common