Skip to content

Commit 7cd1629

Browse files
committed
BUG: Correct pointer. PS. This bug does not affect v0.1.1
1 parent 7d6b0c0 commit 7cd1629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/napi/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ static int cws_add_int32_object_list_util(napi_value *int32_out, const char *obj
450450
if (napi_set_named_property(env, exports, objName, *objTmp)!=napi_ok)
451451
return 603;
452452

453-
return cws_add_int32_util(env, obj, value);
453+
return cws_add_int32_util(env, *objTmp, value);
454454
}
455455

456456
inline int js_cws_new_array_buffer(napi_value *dest, napi_env env, void *src, size_t src_sz)

0 commit comments

Comments
 (0)