Browse Source

pipe_wrap: squelch integer type conversion warning

v0.11.7-release
Bert Belder 11 years ago
parent
commit
de7d698df7
  1. 2
      src/pipe_wrap.cc

2
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);
}

Loading…
Cancel
Save