From 75636a53bb1a018b94bef6a11e9af8e4d39c22e0 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Wed, 7 Dec 2016 13:39:45 +0100 Subject: [PATCH] dtrace: resolve conversion warning in SLURP_INT (Windows) --- src/node_dtrace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_dtrace.cc b/src/node_dtrace.cc index e42c20877df126..8653b673755fde 100644 --- a/src/node_dtrace.cc +++ b/src/node_dtrace.cc @@ -57,7 +57,7 @@ using v8::Value; "expected object for " #obj " to contain integer member " #member); \ } \ *valp = obj->Get(OneByteString(env->isolate(), #member)) \ - ->ToInteger(env->isolate())->Value(); + ->Int32Value(); #define SLURP_OBJECT(obj, member, valp) \ if (!(obj)->IsObject()) { \