Changed the argument of salloc from an int into an unsigned.
authorkeie <none@none>
Mon, 21 Jan 1985 14:22:07 +0000 (14:22 +0000)
committerkeie <none@none>
Mon, 21 Jan 1985 14:22:07 +0000 (14:22 +0000)
Just to shut up lint.

lang/basic/src.old/util.c

index 56851c4..bf9fcad 100644 (file)
@@ -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);
 }