summaryrefslogtreecommitdiff
path: root/src/node_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_util.cc')
-rw-r--r--src/node_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_util.cc b/src/node_util.cc
index 92eed3a9ae..cfbd250170 100644
--- a/src/node_util.cc
+++ b/src/node_util.cc
@@ -132,7 +132,7 @@ void Initialize(Local<Object> target,
#define V(name, _) \
target->Set(context, \
FIXED_ONE_BYTE_STRING(env->isolate(), #name), \
- Integer::NewFromUnsigned(env->isolate(), index++));
+ Integer::NewFromUnsigned(env->isolate(), index++)).FromJust();
{
uint32_t index = 0;
PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES(V)