fix diff four

Signed-off-by: zhangzezhong <zhangzezhong8@huawei-partners.com>
This commit is contained in:
zhangzezhong
2025-11-14 18:42:42 +08:00
parent 6f5fe667bc
commit d2a6ca0fbf
3 changed files with 6 additions and 2 deletions
@@ -49,8 +49,10 @@ ohos_shared_library("autostartupcallback_ani") {
]
external_deps = [
"c_utils:utils",
"eventhandler:libeventhandler",
"hilog:libhilog",
"ipc:ipc_core",
"runtime_core:ani",
]
@@ -43,8 +43,10 @@ ohos_shared_library("auto_startup_manager") {
]
external_deps = [
"c_utils:utils",
"eventhandler:libeventhandler",
"hilog:libhilog",
"ipc:ipc_core",
"runtime_core:ani",
]
@@ -377,7 +377,7 @@ private:
status = env->Object_CallMethodByName_Int(
reinterpret_cast<ani_object>(ref), "intValue", nullptr, &missionId);
if (status != ANI_OK) {
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}d", i);
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}zu", i);
AsyncCallback(env, callback,
EtsErrorUtil::CreateInvalidParamError(env, "Parse param missionIds failed, element must be int."),
nullptr);
@@ -428,7 +428,7 @@ private:
status = env->Object_CallMethodByName_Int(
reinterpret_cast<ani_object>(ref), "intValue", nullptr, &missionId);
if (status != ANI_OK) {
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}d", i);
TAG_LOGE(AAFwkTag::MISSION, "ConvertAniInt failed at index %{public}zu", i);
AsyncCallback(env, callback,
EtsErrorUtil::CreateInvalidParamError(env, "Parse param missionIds failed, element must be int."),
nullptr);