public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91ff9e
)
Changed the argument of salloc from an int into an unsigned.
author
keie
<none@none>
Mon, 21 Jan 1985 14:22:07 +0000
(14:22 +0000)
committer
keie
<none@none>
Mon, 21 Jan 1985 14:22:07 +0000
(14:22 +0000)
Just to shut up lint.
lang/basic/src.old/util.c
patch
|
blob
|
history
diff --git
a/lang/basic/src.old/util.c
b/lang/basic/src.old/util.c
index
56851c4
..
bf9fcad
100644
(file)
--- a/
lang/basic/src.old/util.c
+++ b/
lang/basic/src.old/util.c
@@
-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);
}