Skip to content

Commit 79ee838

Browse files
committed
src: fix compile failure in test
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
1 parent 2009c01 commit 79ee838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napi-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ inline size_t BigInt::WordCount() const {
581581
inline void BigInt::ToWords(int* sign_bit, size_t* word_count, uint64_t* words) {
582582
napi_status status = napi_get_value_bigint_words(
583583
_env, _value, sign_bit, word_count, words);
584-
NAPI_THROW_IF_FAILED(_env, status);
584+
NAPI_THROW_IF_FAILED_VOID(_env, status);
585585
}
586586
#endif // NAPI_EXPERIMENTAL
587587

0 commit comments

Comments
 (0)