From 682e5d9b8a865f1cbee42cb435f54d4a62d841b0 Mon Sep 17 00:00:00 2001 From: keie Date: Mon, 21 Jan 1985 23:53:01 +0000 Subject: [PATCH] Removed casts made superfluous by adding newstr to string.h --- lang/basic/lib/mki.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }