Skip to content

Commit

Permalink
src: fix compile failure in test
Browse files Browse the repository at this point in the history
Since original submit for
nodejs#292 warnings
were tightened through nodejs#315
causing the bigint test to fail to compile

Fix the compile failure
  • Loading branch information
mhdawson committed Sep 18, 2018
1 parent 2009c01 commit 61ffacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napi-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ inline size_t BigInt::WordCount() const {
inline void BigInt::ToWords(int* sign_bit, size_t* word_count, uint64_t* words) {
napi_status status = napi_get_value_bigint_words(
_env, _value, sign_bit, word_count, words);
NAPI_THROW_IF_FAILED(_env, status);
NAPI_THROW_IF_FAILED_VOID(_env, status);
}
#endif // NAPI_EXPERIMENTAL

Expand Down

0 comments on commit 61ffacf

Please sign in to comment.