pipe_wrap: squelch integer type conversion warning

This commit is contained in:
Bert Belder committed 2013-08-28 23:36:00 +02:00
1 parent 93b062468b
commit de7d698df7
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}