mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-30 11:30:30 +00:00
!1185 fix: 【ipc】【编译告警处理】数据类型保持一致
Merge pull request !1185 from jialinbo/master
This commit is contained in:
commit
7ff3bb6a09
@ -69,7 +69,7 @@ napi_value CreateTypeCodeEnum(napi_env env)
|
||||
napi_value enumValues[ENUM_TYPECODE_COUNT] = {nullptr};
|
||||
napi_value enumObject = nullptr;
|
||||
napi_create_object(env, &enumObject);
|
||||
for (int i = 0; i < ENUM_TYPECODE_COUNT; i++) {
|
||||
for (size_t i = 0; i < ENUM_TYPECODE_COUNT; i++) {
|
||||
napi_create_int32(env, i, &enumValues[i]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user