summaryrefslogtreecommitdiff
path: root/src/pipe_wrap.cc
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2013-08-28 23:35:43 +0200
committerBert Belder <bertbelder@gmail.com>2013-08-28 23:36:00 +0200
commitde7d698df7d2e840d079336606d56cdaf9ee9c03 (patch)
tree17ebaa765a105dea776074be424de8c08423b3c4 /src/pipe_wrap.cc
parent93b062468b2078de1b34e064a05fbeb1b4bd680a (diff)
downloadandroid-node-v8-de7d698df7d2e840d079336606d56cdaf9ee9c03.tar.gz
android-node-v8-de7d698df7d2e840d079336606d56cdaf9ee9c03.tar.bz2
android-node-v8-de7d698df7d2e840d079336606d56cdaf9ee9c03.zip
pipe_wrap: squelch integer type conversion warning
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r--src/pipe_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc
index 8884fec2cc..97375ab847 100644
--- a/src/pipe_wrap.cc
+++ b/src/pipe_wrap.cc
@@ -265,7 +265,7 @@ void PipeWrap::Open(const FunctionCallbackInfo<Value>& args) {
PipeWrap* wrap;
NODE_UNWRAP(args.This(), PipeWrap, wrap);
- int fd = args[0]->IntegerValue();
+ int fd = args[0]->Int32Value();
uv_pipe_open(&wrap->handle_, fd);
}