diff --git a/Shell/Parser.cpp b/Shell/Parser.cpp index e3c43c0ed4..c6b322755c 100644 --- a/Shell/Parser.cpp +++ b/Shell/Parser.cpp @@ -1380,7 +1380,7 @@ RefPtr Parser::parse_glob() auto glob_after = parse_glob(); if (glob_after) { if (glob_after->is_glob()) { - auto glob = static_cast(glob_after.ptr()); + auto glob = static_cast(glob_after.ptr()); textbuilder.append(glob->text()); } else if (glob_after->is_bareword()) { auto bareword = static_cast(glob_after.ptr());