svn commit: r219363 - head/bin/sh

Stefan Farfeleder stefanf at FreeBSD.org
Mon Mar 7 07:31:15 UTC 2011


Author: stefanf
Date: Mon Mar  7 07:31:15 2011
New Revision: 219363
URL: http://svn.freebsd.org/changeset/base/219363

Log:
  Remove unnecessary cast.
  
  Reviewed by:	jilles

Modified:
  head/bin/sh/arith_yylex.c

Modified: head/bin/sh/arith_yylex.c
==============================================================================
--- head/bin/sh/arith_yylex.c	Mon Mar  7 03:15:49 2011	(r219362)
+++ head/bin/sh/arith_yylex.c	Mon Mar  7 07:31:15 2011	(r219363)
@@ -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':


More information about the svn-src-head mailing list