From 67908e993302807bb1c7986a090648b56ac2d7ae Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 13 Jul 2018 20:03:17 +0200 Subject: test: fix build warnings in bigint N-API test PR-URL: https://github.com/nodejs/node/pull/21796 Reviewed-By: Luigi Pinca Reviewed-By: Jon Moss Reviewed-By: James M Snell Reviewed-By: Kyle Farnung Reviewed-By: Gus Caplan Reviewed-By: Colin Ihrig --- test/addons-napi/test_bigint/test_bigint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/addons-napi/test_bigint') 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"); -- cgit v1.2.3