Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2011 07:31:15 +0000 (UTC)
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r219363 - head/bin/sh
Message-ID:  <201103070731.p277VFU7025395@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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':



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103070731.p277VFU7025395>