pipe_wrap: squelch integer type conversion warning

This commit is contained in:
Bert Belder 2013-08-28 23:35:43 +02:00
parent 93b062468b
commit de7d698df7

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