From: keie Date: Mon, 21 Jan 1985 23:53:01 +0000 (+0000) Subject: Removed casts made superfluous by adding newstr to string.h X-Git-Tag: release-5-5~5736 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=682e5d9b8a865f1cbee42cb435f54d4a62d841b0;p=ack.git Removed casts made superfluous by adding newstr to string.h --- diff --git a/lang/basic/lib/mki.c b/lang/basic/lib/mki.c index 890c6dc36..4d4866346 100644 --- a/lang/basic/lib/mki.c +++ b/lang/basic/lib/mki.c @@ -8,7 +8,7 @@ int i; char *buffer =" "; String *s; - s= (String *) _newstr(buffer); + s= _newstr(buffer); strncpy(s->strval,&i,2); return(s); } @@ -18,7 +18,7 @@ double d; char *buffer =" "; String *s; - s= (String *) _newstr(buffer); + s= _newstr(buffer); strncpy(s->strval,&d,8); return(s); }