pipe_wrap: squelch integer type conversion warning
This commit is contained in:
parent
93b062468b
commit
de7d698df7
@ -265,7 +265,7 @@ void PipeWrap::Open(const FunctionCallbackInfo<Value>& args) {
|
|||||||
PipeWrap* wrap;
|
PipeWrap* wrap;
|
||||||
NODE_UNWRAP(args.This(), PipeWrap, wrap);
|
NODE_UNWRAP(args.This(), PipeWrap, wrap);
|
||||||
|
|
||||||
int fd = args[0]->IntegerValue();
|
int fd = args[0]->Int32Value();
|
||||||
|
|
||||||
uv_pipe_open(&wrap->handle_, fd);
|
uv_pipe_open(&wrap->handle_, fd);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user