Skip to content

Commit 67908e9

Browse files
addaleaxtargos
authored andcommitted
test: fix build warnings in bigint N-API test
PR-URL: #21796 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kyle Farnung <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 6b72583 commit 67908e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/addons-napi/test_bigint/test_bigint.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
static napi_value IsLossless(napi_env env, napi_callback_info info) {
99
size_t argc = 2;
1010
napi_value args[2];
11-
NAPI_CALL(env, napi_get_cb_info(env, info, &argc, &args, NULL, NULL));
11+
NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL));
1212

1313
bool is_signed;
1414
NAPI_CALL(env, napi_get_value_bool(env, args[1], &is_signed));
@@ -98,7 +98,7 @@ static napi_value TestWords(napi_env env, napi_callback_info info) {
9898
uint64_t words[10];
9999

100100
NAPI_CALL(env, napi_get_value_bigint_words(
101-
env, args[0], &sign_bit, &word_count, &words));
101+
env, args[0], &sign_bit, &word_count, words));
102102

103103
NAPI_ASSERT(env, word_count == expected_word_count,
104104
"word counts do not match");

0 commit comments

Comments
 (0)