Make count a size_t as that is what is compared against and how it is used.
This commit is contained in:
+2
-1
@@ -502,7 +502,8 @@ sink(int argc, char *argv[])
|
||||
enum { YES, NO, DISPLAYED } wrerr;
|
||||
BUF *bp;
|
||||
off_t i, j, size;
|
||||
int amt, count, exists, first, mask, mode, ofd, omode;
|
||||
int amt, exists, first, mask, mode, ofd, omode;
|
||||
size_t count;
|
||||
int setimes, targisdir, wrerrno = 0;
|
||||
char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ], path[PATH_MAX];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user