summaryrefslogtreecommitdiffstats
path: root/bin/sh/arith_yylex.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2011-03-07 07:31:15 +0000
committerstefanf <stefanf@FreeBSD.org>2011-03-07 07:31:15 +0000
commit0d4be9304a1029fb089294ffbc0318df9f57e528 (patch)
tree166f8dc447b083a1e8f16162c3bf6d30b14166e5 /bin/sh/arith_yylex.c
parent44a54225535e679dead2bb088b3de894a640a0a4 (diff)
downloadFreeBSD-src-0d4be9304a1029fb089294ffbc0318df9f57e528.zip
FreeBSD-src-0d4be9304a1029fb089294ffbc0318df9f57e528.tar.gz
Remove unnecessary cast.
Reviewed by: jilles
Diffstat (limited to 'bin/sh/arith_yylex.c')
-rw-r--r--bin/sh/arith_yylex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/arith_yylex.c b/bin/sh/arith_yylex.c
index 08e43a4..cfb9724d 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':
OpenPOWER on IntegriCloud