mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
pipe_wrap: squelch integer type conversion warning
This commit is contained in:
1 parent
93b062468b
commit
de7d698df7
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user