diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-02 06:36:52 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-02 06:36:52 +0000 |
commit | 3bcdc44d524b6773b10b3208fda38aef0396fdf6 (patch) | |
tree | 8f0985c57c0f6fe586c9b0666e07df1b5180caf0 /bin/rcp | |
parent | 4c52a206d24421e6c4708baeba60bb6f9b88ebb4 (diff) | |
download | FreeBSD-src-3bcdc44d524b6773b10b3208fda38aef0396fdf6.zip FreeBSD-src-3bcdc44d524b6773b10b3208fda38aef0396fdf6.tar.gz |
Make count a size_t as that is what is compared against and how it is used.
Diffstat (limited to 'bin/rcp')
-rw-r--r-- | bin/rcp/rcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index ca21062..f9b6789 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -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]; |