diff --git a/bin/sh/arith_yylex.c b/bin/sh/arith_yylex.c index 08e43a488b15..cfb9724d524b 100644 --- a/bin/sh/arith_yylex.c +++ b/bin/sh/arith_yylex.c @@ -80,7 +80,7 @@ yylex() case '7': case '8': case '9': - yylval.val = strtoarith_t(buf, (char **)&end, 0); + yylval.val = strtoarith_t(buf, &end, 0); arith_buf = end; return ARITH_NUM; case 'A':