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
1 changed files with 2 additions and 2 deletions
|
@ -61,12 +61,12 @@ int i;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *salloc(length)
|
char *salloc(length)
|
||||||
int length;
|
unsigned length;
|
||||||
{
|
{
|
||||||
char *s,*c;
|
char *s,*c;
|
||||||
extern char *malloc() ;
|
extern char *malloc() ;
|
||||||
s=c= malloc(length);
|
s=c= malloc(length);
|
||||||
while(length-->0)*c++ =0;
|
while(length--)*c++ =0;
|
||||||
return(s);
|
return(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue