diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-07-13 21:03:17 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-07-16 22:26:29 +0300 |
commit | 67908e993302807bb1c7986a090648b56ac2d7ae (patch) | |
tree | 200f6c57ee92c51e3a103ff6c75d4ff5f33648b1 /test/addons-napi/test_bigint | |
parent | 6b72583bf8b5d0cfe96b619bccd94e537b0f9639 (diff) |
test: fix build warnings in bigint N-API test
PR-URL: https://github.com/nodejs/node/pull/21796
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/addons-napi/test_bigint')
-rw-r--r-- | test/addons-napi/test_bigint/test_bigint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/addons-napi/test_bigint/test_bigint.c b/test/addons-napi/test_bigint/test_bigint.c index e3516628e88..b1e6c359db6 100644 --- a/test/addons-napi/test_bigint/test_bigint.c +++ b/test/addons-napi/test_bigint/test_bigint.c @@ -8,7 +8,7 @@ static napi_value IsLossless(napi_env env, napi_callback_info info) { size_t argc = 2; napi_value args[2]; - NAPI_CALL(env, napi_get_cb_info(env, info, &argc, &args, NULL, NULL)); + NAPI_CALL(env, napi_get_cb_info(env, info, &argc, args, NULL, NULL)); bool is_signed; 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) { uint64_t words[10]; NAPI_CALL(env, napi_get_value_bigint_words( - env, args[0], &sign_bit, &word_count, &words)); + env, args[0], &sign_bit, &word_count, words)); NAPI_ASSERT(env, word_count == expected_word_count, "word counts do not match"); |