From 719b8f95852f7caaadbc7cf95132c4a0871813e1 Mon Sep 17 00:00:00 2001 From: lixiyuan Date: Thu, 28 Nov 2024 09:56:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=A6=E5=8F=B7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixiyuan --- .../kits_impl/src/storage_statistics_n_exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/storage_manager/kits_impl/src/storage_statistics_n_exporter.cpp b/services/storage_manager/kits_impl/src/storage_statistics_n_exporter.cpp index 78e3df9f..1f63bd01 100644 --- a/services/storage_manager/kits_impl/src/storage_statistics_n_exporter.cpp +++ b/services/storage_manager/kits_impl/src/storage_statistics_n_exporter.cpp @@ -184,7 +184,7 @@ napi_value GetBundleStats(napi_env env, napi_callback_info info) } std::string nameString = std::get<0>(result); int32_t index = std::get<1>(result); - int32_t statFlag = std::get<2>(result); + int32_t statFlag = static_cast(std::get<2>(result)); auto bundleStats = std::make_shared(); auto cbExec = [nameString, bundleStats, index, statFlag]() -> NError { int32_t errNum = DelayedSingleton::GetInstance()->GetBundleStats(nameString, -- Gitee