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
#292 warnings
were tightened through #315
causing the bigint test to fail to compile

Fix the compile failure

PR-URL: #345
Reviewed-By: : None, landed to unbreak CI
  • Loading branch information
mhdawson committed Sep 18, 2018
1 parent 2009c01 commit 79ee838
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 79ee838

Please sign in to comment.