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