From: Matthew Fernandez Date: Sun, 24 Jul 2022 16:51:29 +0000 (-0700) Subject: ast chrtoi: remove unnecessary cast X-Git-Tag: 5.0.1~26^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5ba0dc41d299d66cd5d29032d8c8cdfe5e6769f;p=graphviz ast chrtoi: remove unnecessary cast --- diff --git a/lib/ast/chrtoi.c b/lib/ast/chrtoi.c index 88a613db6..f3af1c740 100644 --- a/lib/ast/chrtoi.c +++ b/lib/ast/chrtoi.c @@ -30,7 +30,7 @@ int chrtoi(const char *s) switch (x = *((const unsigned char *) s++)) { case '\\': x = chresc(s - 1, &p); - s = (const char *) p; + s = p; break; case 0: return (c);