Changed the argument of salloc from an int into an unsigned.
Just to shut up lint.
This commit is contained in:
parent
a91ff9e04b
commit
d53ef52028
|
@ -61,12 +61,12 @@ int i;
|
|||
}
|
||||
|
||||
char *salloc(length)
|
||||
int length;
|
||||
unsigned length;
|
||||
{
|
||||
char *s,*c;
|
||||
extern char *malloc() ;
|
||||
s=c= malloc(length);
|
||||
while(length-->0)*c++ =0;
|
||||
while(length--)*c++ =0;
|
||||
return(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue