Removed casts made superfluous by adding newstr to string.h

This commit is contained in:
keie 1985-01-21 23:53:01 +00:00
parent f7027ba7e4
commit 682e5d9b8a

View file

@ -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);
}