We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d22048 commit 452b6aaCopy full SHA for 452b6aa
src/pipe_wrap.cc
@@ -184,8 +184,7 @@ void PipeWrap::Fchmod(const v8::FunctionCallbackInfo<v8::Value>& args) {
184
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder());
185
CHECK(args[0]->IsInt32());
186
int mode = args[0].As<Int32>()->Value();
187
- int err = uv_pipe_chmod(reinterpret_cast<uv_pipe_t*>(&wrap->handle_),
188
- mode);
+ int err = uv_pipe_chmod(&wrap->handle_, mode);
189
args.GetReturnValue().Set(err);
190
}
191
0 commit comments