Skip to content

Commit

Permalink
dtrace: resolve conversion warning in SLURP_INT
Browse files Browse the repository at this point in the history
(Windows)
  • Loading branch information
Christopher J. Brody committed Dec 7, 2016
1 parent 0c4c225 commit 75636a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_dtrace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()) { \
Expand Down

0 comments on commit 75636a5

Please sign in to comment.