From d2b28b76faa2243ce2593c4bdf0fe0e2697ccfe1 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 9 Jul 2022 09:32:25 -0700 Subject: [PATCH] expr expush: remove unnecessary cast --- lib/expr/exgram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/expr/exgram.h b/lib/expr/exgram.h index 33e1eb628..d3ddbc914 100644 --- a/lib/expr/exgram.h +++ b/lib/expr/exgram.h @@ -843,7 +843,7 @@ expush(Expr_t* p, const char* name, int line, const char* sp, Sfio_t* fp) } else { - name = (const char*)vmstrdup(p->vm, s); + name = vmstrdup(p->vm, s); in->close = 1; } } -- 2.40.0