| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -187,8 +187,7 @@ void PipeWrap::Fchmod(const v8::FunctionCallbackInfo<v8::Value>& args) { | |||
| 187 | 187 | ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); | |
| 188 | 188 | CHECK(args[0]->IsInt32()); | |
| 189 | 189 | int mode = args[0].As<Int32>()->Value(); | |
| 190 | - int err = uv_pipe_chmod(reinterpret_cast<uv_pipe_t*>(&wrap->handle_), | ||
| 191 | - mode); | ||
| 190 | + int err = uv_pipe_chmod(&wrap->handle_, mode); | ||
| 192 | 191 | args.GetReturnValue().Set(err); | |
| 193 | 192 | } | |
| 194 | 193 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments