Changed the argument of salloc from an int into an unsigned.
Just to shut up lint.
This commit is contained in:
parent
9ced1efe34
commit
9ef0eefc55
@ -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…
x
Reference in New Issue
Block a user