| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cb69ff4 commit 66db874
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -320,7 +320,7 @@ static void OpenDir(const FunctionCallbackInfo<Value>& args) { | |||
| 320 | 320 | ||
| 321 | 321 | const enum encoding encoding = ParseEncoding(isolate, args[1], UTF8); | |
| 322 | 322 | ||
| 323 | - FSReqBase* req_wrap_async = static_cast<FSReqBase*>(GetReqWrap(env, args[2])); | ||
| 323 | + FSReqBase* req_wrap_async = GetReqWrap(env, args[2]); | ||
| 324 | 324 | if (req_wrap_async != nullptr) { // openDir(path, encoding, req) | |
| 325 | 325 | AsyncCall(env, req_wrap_async, args, "opendir", encoding, AfterOpenDir, | |
| 326 | 326 | uv_fs_opendir, *path); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments