Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: remove redundant cast in method AfterStringPath
  • Loading branch information
gengjiawen committed Feb 20, 2019
commit 22cab9256a56f9fb1e91cb473ae6322335702b4b
2 changes: 1 addition & 1 deletion src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ void AfterStringPath(uv_fs_t* req) {

if (after.Proceed()) {
link = StringBytes::Encode(req_wrap->env()->isolate(),
static_cast<const char*>(req->path),
req->path,
req_wrap->encoding(),
&error);
if (link.IsEmpty())
Expand Down