!263 Fix the arm64 compile problem

Merge pull request !263 from dy/master
This commit is contained in:
openharmony_ci 2022-01-08 06:03:23 +00:00 committed by Gitee
commit 9f5f1e01f6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1935,7 +1935,7 @@ napi_value NAPI_GetAbilityMissionSnapshot(napi_env env, napi_callback_info info)
size_t argc = 2;
napi_value argv[argc];
NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, NULL, NULL));
HILOG_INFO("argc = [%{public}d]", argc);
HILOG_INFO("argc = [%{public}d]", (int32_t)argc);
napi_valuetype valuetype0;
NAPI_CALL(env, napi_typeof(env, argv[0], &valuetype0));